Adds a rectangle to the Body of the current document
at a specific position on the current page, and resolves it.
Namespace:
C1.C1PreviewAssembly: C1.C1Report.2 (in C1.C1Report.2.dll)
Syntax
C# |
---|
public void RenderDirectRectangle( Unit x, Unit y, Unit width, Unit height, Color lineColor, Unit lineThickness ) |
Visual Basic |
---|
Public Sub RenderDirectRectangle ( _ x As Unit, _ y As Unit, _ width As Unit, _ height As Unit, _ lineColor As Color, _ lineThickness As Unit _ ) |
Parameters
- x
- Type: C1.C1Preview..::..Unit
The horizontal (X) coordinate at which to render the rectangle (cannot be auto).
- y
- Type: C1.C1Preview..::..Unit
The vertical (Y) coordinate at which to render the rectangle (cannot be auto).
- width
- Type: C1.C1Preview..::..Unit
The width of the rectangle.
- height
- Type: C1.C1Preview..::..Unit
The height of the rectangle.
- lineColor
- Type: System.Drawing..::..Color
The line color.
- lineThickness
- Type: C1.C1Preview..::..Unit
The line thickness.
Remarks
This method can only be used between calls to StartDoc()()()() and EndDoc()()()() methods on the current document. For details, see RenderDirect(Unit, Unit, RenderObject, Object, Object).