PrintDocument for WinForms | ComponentOne
C1.Win.PrintPreview.4.5.2 Assembly / C1.Win.C1Preview.Design Namespace / SampleC1PrintDocument Class / AdvanceBlockFlow Method
The amount by which to advance the block flow position (can be negative).

In This Topic
    AdvanceBlockFlow Method (SampleC1PrintDocument)
    In This Topic
    Advances the current block flow position by the specified distance.
    Syntax
    'Declaration
     
    Public Sub AdvanceBlockFlow( _
       ByVal distance As Unit _
    ) 
    public void AdvanceBlockFlow( 
       Unit distance
    )

    Parameters

    distance
    The amount by which to advance the block flow position (can be negative).
    Remarks
    The specified distance must specify an absolute value (i.e. it cannot be an expression or percentage), but it may be negative to move the current block flow position up on the current page.

    This method can only be used between calls to C1.C1Preview.C1PrintDocument.StartDoc and C1.C1Preview.C1PrintDocument.EndDoc methods on the current document.

    See Also