RenderDirectRectangle(Unit,Unit,Unit,Unit,Style) Method
In This Topic
Adds a rectangle to the
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 Style _
)
public void RenderDirectRectangle(
Unit ,
Unit ,
Unit ,
Unit ,
Style
)
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.
- style
- The C1PrintDocument.Style to use.
See Also