[]
        
(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)
Public Sub RenderDirectPie(x As Unit, y As Unit, width As Unit, height As Unit, startAngle As Single, sweepAngle As Single, style As 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)
Public Sub RenderDirectPie(x As Unit, y As Unit, width As Unit, height As Unit, startAngle As Single, sweepAngle As Single, line As LineDef, fillColor As Color)
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)
Public Sub RenderDirectPie(x As Unit, y As Unit, width As Unit, height As Unit, startAngle As Single, sweepAngle As Single, line As LineDef, fillBrush As Brush)
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)
Public Sub RenderDirectPie(x As Unit, y As Unit, width As Unit, height As Unit, startAngle As Single, sweepAngle As Single, line As LineDef)
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)
Public Sub RenderDirectPie(x As Unit, y As Unit, width As Unit, height As Unit, startAngle As Single, sweepAngle As Single, lineColor As Color, lineThickness As Unit, fillColor As Color)
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)
Public Sub RenderDirectPie(x As Unit, y As Unit, width As Unit, height As Unit, startAngle As Single, sweepAngle As Single, lineColor As Color, lineThickness As Unit)
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