[]
        
(Showing Draft Content)

C1.C1Preview.C1PrintDocument.RenderBlockRectangle

RenderBlockRectangle Method

RenderBlockRectangle(Unit, Unit, Style)

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

Declaration
public bool RenderBlockRectangle(Unit width, Unit height, Style style)
Parameters
Type Name Description
Unit width

The width of the rectangle.

Unit height

The height of the rectangle.

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

RenderBlockRectangle(Unit, Unit, LineDef, Color)

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

Declaration
public bool RenderBlockRectangle(Unit width, Unit height, LineDef line, Color fillColor)
Parameters
Type Name Description
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.

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

RenderBlockRectangle(Unit, Unit, LineDef, Brush)

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

Declaration
public bool RenderBlockRectangle(Unit width, Unit height, LineDef line, Brush fillBrush)
Parameters
Type Name Description
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.

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

RenderBlockRectangle(Unit, Unit, LineDef)

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

Declaration
public bool RenderBlockRectangle(Unit width, Unit height, LineDef line)
Parameters
Type Name Description
Unit width

The width of the rectangle.

Unit height

The height of the rectangle.

LineDef line

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

RenderBlockRectangle(Unit, Unit, Color, Unit, Color)

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

Declaration
public bool RenderBlockRectangle(Unit width, Unit height, Color lineColor, Unit lineThickness, Color fillColor)
Parameters
Type Name Description
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.

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

RenderBlockRectangle(Unit, Unit, Color, Unit)

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

Declaration
public bool RenderBlockRectangle(Unit width, Unit height, Color lineColor, Unit lineThickness)
Parameters
Type Name Description
Unit width

The width of the rectangle.

Unit height

The height of the rectangle.

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