PrintDocument for WinForms | ComponentOne
C1.PrintDocument.4.5.2 Assembly / C1.C1Preview Namespace / C1PrintDocument Class / RenderBlockHorzLine Method
The width of the line.
The LineDef used to draw the line.

In This Topic
    RenderBlockHorzLine Method (C1PrintDocument)
    In This Topic
    Renders a horizontal line with the specified width, starting at the left of the page, into the block flow of the current document.
    Syntax
    'Declaration
     
    Public Function RenderBlockHorzLine( _
       ByVal width As Unit, _
       ByVal line As LineDef _
    ) As Boolean
    public bool RenderBlockHorzLine( 
       Unit width,
       LineDef line
    )

    Parameters

    width
    The width of the line.
    line
    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.

    See Also