[]
        
(Showing Draft Content)

C1.C1Preview.C1PrintDocument.RenderBlockHorzLine

RenderBlockHorzLine Method

RenderBlockHorzLine(Unit, LineDef)

Renders a horizontal line with the specified width, starting at the left of the page, into the block flow of the current document.

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

The width of the line.

LineDef line

The LineDef used to draw the line.

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