PrintDocument for WinForms | ComponentOne
C1.Win.PrintPreview.4.5.2 Assembly / C1.Win.C1Preview.Design Namespace / SampleC1PrintDocument Class / RenderBlockVertLine Method
The height of the line.
The C1.C1Preview.LineDef used to draw the line.

In This Topic
    RenderBlockVertLine Method (SampleC1PrintDocument)
    In This Topic
    Renders a vertical line with the specified height, starting at the current position, into the block flow of the current document.
    Syntax
    'Declaration
     
    Public Function RenderBlockVertLine( _
       ByVal height As Unit, _
       ByVal line As LineDef _
    ) As Boolean
    public bool RenderBlockVertLine( 
       Unit height,
       LineDef line
    )

    Parameters

    height
    The height of the line.
    line
    The C1.C1Preview.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 C1.C1Preview.C1PrintDocument.StartDoc and C1.C1Preview.C1PrintDocument.EndDoc methods on the current document. For details, see C1.C1Preview.C1PrintDocument.RenderBlock.

    See Also