[]
        
(Showing Draft Content)

C1.C1Preview.C1PrintDocument.RenderDirectRectangle

RenderDirectRectangle Method

RenderDirectRectangle(Unit, Unit, Unit, Unit, Style)

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

Declaration
public void RenderDirectRectangle(Unit x, Unit y, Unit width, Unit height, Style style)
Parameters
Type Name Description
Unit x

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

Unit y

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

Unit width

The width of the rectangle.

Unit height

The height of the rectangle.

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

RenderDirectRectangle(Unit, Unit, Unit, Unit, LineDef, Color)

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

Declaration
public void RenderDirectRectangle(Unit x, Unit y, Unit width, Unit height, LineDef line, Color fillColor)
Parameters
Type Name Description
Unit x

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

Unit y

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

Unit width

The width of the rectangle.

Unit height

The height of the rectangle.

LineDef line

The LineDef to draw the rectangle 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

RenderDirectRectangle(Unit, Unit, Unit, Unit, LineDef, Brush)

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

Declaration
public void RenderDirectRectangle(Unit x, Unit y, Unit width, Unit height, LineDef line, Brush fillBrush)
Parameters
Type Name Description
Unit x

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

Unit y

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

Unit width

The width of the rectangle.

Unit height

The height of the rectangle.

LineDef line

The LineDef to draw the rectangle 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

RenderDirectRectangle(Unit, Unit, Unit, Unit, LineDef)

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

Declaration
public void RenderDirectRectangle(Unit x, Unit y, Unit width, Unit height, LineDef line)
Parameters
Type Name Description
Unit x

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

Unit y

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

Unit width

The width of the rectangle.

Unit height

The height of the rectangle.

LineDef line

The LineDef to draw the rectangle 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

RenderDirectRectangle(Unit, Unit, Unit, Unit, Color, Unit, Color)

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

Declaration
public void RenderDirectRectangle(Unit x, Unit y, Unit width, Unit height, Color lineColor, Unit lineThickness, Color fillColor)
Parameters
Type Name Description
Unit x

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

Unit y

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

Unit width

The width of the rectangle.

Unit height

The height of the rectangle.

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

RenderDirectRectangle(Unit, Unit, Unit, Unit, Color, Unit)

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

Declaration
public void RenderDirectRectangle(Unit x, Unit y, Unit width, Unit height, Color lineColor, Unit lineThickness)
Parameters
Type Name Description
Unit x

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

Unit y

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

Unit width

The width of the rectangle.

Unit height

The height of the rectangle.

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