[]
        
(Showing Draft Content)

C1.C1Preview.C1PrintDocument.RenderDirectPie

RenderDirectPie Method

RenderDirectPie(Unit, Unit, Unit, Unit, float, float, Style)

Adds a pie to the Body of the current document at a specific position on the current page, and resolves it.

Declaration
public void RenderDirectPie(Unit x, Unit y, Unit width, Unit height, float startAngle, float sweepAngle, Style style)
Parameters
Type Name Description
Unit x

The horizontal (X) coordinate at which to render the pie (cannot be auto).

Unit y

The vertical (Y) coordinate at which to render the pie (cannot be auto).

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.

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

See Also

RenderDirectPie(Unit, Unit, Unit, Unit, float, float, LineDef, Color)

Adds a pie to the Body of the current document at a specific position on the current page, and resolves it.

Declaration
public void RenderDirectPie(Unit x, Unit y, Unit width, Unit height, float startAngle, float sweepAngle, LineDef line, Color fillColor)
Parameters
Type Name Description
Unit x

The horizontal (X) coordinate at which to render the pie (cannot be auto).

Unit y

The vertical (Y) coordinate at which to render the pie (cannot be auto).

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.

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

See Also

RenderDirectPie(Unit, Unit, Unit, Unit, float, float, LineDef, Brush)

Adds a pie to the Body of the current document at a specific position on the current page, and resolves it.

Declaration
public void RenderDirectPie(Unit x, Unit y, Unit width, Unit height, float startAngle, float sweepAngle, LineDef line, Brush fillBrush)
Parameters
Type Name Description
Unit x

The horizontal (X) coordinate at which to render the pie (cannot be auto).

Unit y

The vertical (Y) coordinate at which to render the pie (cannot be auto).

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.

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

See Also

RenderDirectPie(Unit, Unit, Unit, Unit, float, float, LineDef)

Adds a pie to the Body of the current document at a specific position on the current page, and resolves it.

Declaration
public void RenderDirectPie(Unit x, Unit y, Unit width, Unit height, float startAngle, float sweepAngle, LineDef line)
Parameters
Type Name Description
Unit x

The horizontal (X) coordinate at which to render the pie (cannot be auto).

Unit y

The vertical (Y) coordinate at which to render the pie (cannot be auto).

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.

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

See Also

RenderDirectPie(Unit, Unit, Unit, Unit, float, float, Color, Unit, Color)

Adds a pie to the Body of the current document at a specific position on the current page, and resolves it.

Declaration
public void RenderDirectPie(Unit x, Unit y, Unit width, Unit height, float startAngle, float sweepAngle, Color lineColor, Unit lineThickness, Color fillColor)
Parameters
Type Name Description
Unit x

The horizontal (X) coordinate at which to render the pie (cannot be auto).

Unit y

The vertical (Y) coordinate at which to render the pie (cannot be auto).

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.

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

See Also

RenderDirectPie(Unit, Unit, Unit, Unit, float, float, Color, Unit)

Adds a pie to the Body of the current document at a specific position on the current page, and resolves it.

Declaration
public void RenderDirectPie(Unit x, Unit y, Unit width, Unit height, float startAngle, float sweepAngle, Color lineColor, Unit lineThickness)
Parameters
Type Name Description
Unit x

The horizontal (X) coordinate at which to render the pie (cannot be auto).

Unit y

The vertical (Y) coordinate at which to render the pie (cannot be auto).

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.

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

See Also