[]
        
(Showing Draft Content)

C1.C1Preview.C1PrintDocument.RenderBlockPie

RenderBlockPie Method

RenderBlockPie(Unit, Unit, float, float, Style)

Renders a pie into the block flow of the current document.

Declaration
public bool RenderBlockPie(Unit width, Unit height, float startAngle, float sweepAngle, Style style)
Public Function RenderBlockPie(width As Unit, height As Unit, startAngle As Single, sweepAngle As Single, style As Style) As Boolean
Parameters
Type Name Description
Unit width

The width of the pie.

Unit height

The height of the pie.

float startAngle

The pie's starting angle (in degrees, measured clockwise from the X axis).

float sweepAngle

The pie's sweep angle (in degrees, measured clockwise from startAngle).

Style style

The Style to use.

Returns
Type Description
bool

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).

See Also

RenderBlockPie(Unit, Unit, float, float, LineDef, Color)

Renders a pie into the block flow of the current document.

Declaration
public bool RenderBlockPie(Unit width, Unit height, float startAngle, float sweepAngle, LineDef line, Color fillColor)
Public Function RenderBlockPie(width As Unit, height As Unit, startAngle As Single, sweepAngle As Single, line As LineDef, fillColor As Color) As Boolean
Parameters
Type Name Description
Unit width

The width of the pie.

Unit height

The height of the pie.

float startAngle

The pie's starting angle (in degrees, measured clockwise from the X axis).

float sweepAngle

The pie's sweep angle (in degrees, measured clockwise from startAngle).

LineDef line

The LineDef to draw the pie with.

Color fillColor

The fill color.

Returns
Type Description
bool

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).

See Also

RenderBlockPie(Unit, Unit, float, float, LineDef, Brush)

Renders a pie into the block flow of the current document.

Declaration
public bool RenderBlockPie(Unit width, Unit height, float startAngle, float sweepAngle, LineDef line, Brush fillBrush)
Public Function RenderBlockPie(width As Unit, height As Unit, startAngle As Single, sweepAngle As Single, line As LineDef, fillBrush As Brush) As Boolean
Parameters
Type Name Description
Unit width

The width of the pie.

Unit height

The height of the pie.

float startAngle

The pie's starting angle (in degrees, measured clockwise from the X axis).

float sweepAngle

The pie's sweep angle (in degrees, measured clockwise from startAngle).

LineDef line

The LineDef to draw the pie with.

Brush fillBrush

The fill brush.

Returns
Type Description
bool

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).

See Also

RenderBlockPie(Unit, Unit, float, float, LineDef)

Renders a pie into the block flow of the current document.

Declaration
public bool RenderBlockPie(Unit width, Unit height, float startAngle, float sweepAngle, LineDef line)
Public Function RenderBlockPie(width As Unit, height As Unit, startAngle As Single, sweepAngle As Single, line As LineDef) As Boolean
Parameters
Type Name Description
Unit width

The width of the pie.

Unit height

The height of the pie.

float startAngle

The pie's starting angle (in degrees, measured clockwise from the X axis).

float sweepAngle

The pie's sweep angle (in degrees, measured clockwise from startAngle).

LineDef line

The LineDef to draw the pie with.

Returns
Type Description
bool

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).

See Also

RenderBlockPie(Unit, Unit, float, float, Color, Unit, Color)

Renders a pie into the block flow of the current document.

Declaration
public bool RenderBlockPie(Unit width, Unit height, float startAngle, float sweepAngle, Color lineColor, Unit lineThickness, Color fillColor)
Public Function RenderBlockPie(width As Unit, height As Unit, startAngle As Single, sweepAngle As Single, lineColor As Color, lineThickness As Unit, fillColor As Color) As Boolean
Parameters
Type Name Description
Unit width

The width of the pie.

Unit height

The height of the pie.

float startAngle

The pie's starting angle (in degrees, measured clockwise from the X axis).

float sweepAngle

The pie's sweep angle (in degrees, measured clockwise from startAngle).

Color lineColor

The line color.

Unit lineThickness

The line thickness.

Color fillColor

The fill color.

Returns
Type Description
bool

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).

See Also

RenderBlockPie(Unit, Unit, float, float, Color, Unit)

Renders a pie into the block flow of the current document.

Declaration
public bool RenderBlockPie(Unit width, Unit height, float startAngle, float sweepAngle, Color lineColor, Unit lineThickness)
Public Function RenderBlockPie(width As Unit, height As Unit, startAngle As Single, sweepAngle As Single, lineColor As Color, lineThickness As Unit) As Boolean
Parameters
Type Name Description
Unit width

The width of the pie.

Unit height

The height of the pie.

float startAngle

The pie's starting angle (in degrees, measured clockwise from the X axis).

float sweepAngle

The pie's sweep angle (in degrees, measured clockwise from startAngle).

Color lineColor

The line color.

Unit lineThickness

The line thickness.

Returns
Type Description
bool

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).

See Also