RenderDirectRectangle(Unit,Unit,Unit,Unit,LineDef,Brush) Method
In This Topic
Adds a rectangle to the
C1.C1Preview.C1PrintDocument.Body of the current document at a specific position on the current page, and resolves it.
Syntax
'Declaration
Public Overloads Sub RenderDirectRectangle( _
ByVal As Unit, _
ByVal As Unit, _
ByVal As Unit, _
ByVal As Unit, _
ByVal As LineDef, _
ByVal As Brush _
)
public void RenderDirectRectangle(
Unit ,
Unit ,
Unit ,
Unit ,
LineDef ,
Brush
)
Parameters
- x
- The horizontal (X) coordinate at which to render the rectangle (cannot be auto).
- y
- The vertical (Y) coordinate at which to render the rectangle (cannot be auto).
- width
- The width of the rectangle.
- height
- The height of the rectangle.
- line
- The C1.C1Preview.LineDef to draw the rectangle with.
- fillBrush
- The fill brush.
See Also