Renders an arc into the block flow of the current document.
Namespace:
C1.C1PreviewAssembly: C1.C1Report.2 (in C1.C1Report.2.dll)
Syntax
C# |
---|
public bool RenderBlockArc( Unit width, Unit height, float startAngle, float sweepAngle, LineDef line, Brush fillBrush ) |
Visual Basic |
---|
Public Function RenderBlockArc ( _ width As Unit, _ height As Unit, _ startAngle As Single, _ sweepAngle As Single, _ line As LineDef, _ fillBrush As Brush _ ) As Boolean |
Parameters
- width
- Type: C1.C1Preview..::..Unit
The width of the arc.
- height
- Type: C1.C1Preview..::..Unit
The height of the arc.
- startAngle
- Type: System..::..Single
The arc's starting angle (in degrees, measured clockwise from the X axis).
- sweepAngle
- Type: System..::..Single
The arc's sweep angle (in degrees, measured clockwise from startAngle).
- line
- Type: C1.C1Preview..::..LineDef
The LineDef to draw the arc with.
- fillBrush
- Type: System.Drawing..::..Brush
The fill brush.
Return Value
true if no warnings were generated by this call, false otherwise.Remarks
This method can only be used between calls to StartDoc()()()() and EndDoc()()()() methods on the current document. For details, see RenderBlock(RenderObject).