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

Namespace:  C1.C1Preview
Assembly:  C1.C1Report.2 (in C1.C1Report.2.dll)

Syntax

C#
public bool RenderBlockHorzLine(
	Unit width,
	LineDef line
)
Visual Basic
Public Function RenderBlockHorzLine ( _
	width As Unit, _
	line As LineDef _
) As Boolean

Parameters

width
Type: C1.C1Preview..::..Unit
The width of the line.
line
Type: C1.C1Preview..::..LineDef
The LineDef used to draw the line.

Return Value

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