PrintDocument for WinForms | ComponentOne
C1.Win.PrintPreview.8 Assembly / C1.Win.C1Preview Namespace / C1PreviewPane Class / OnLongOperation Method / OnLongOperation(Double,Boolean) Method
How much is complete (from 0 to 1).
Whether the operation can be cancelled.

In This Topic
    OnLongOperation(Double,Boolean) Method
    In This Topic
    Raises the LongOperation event on the preview pane.
    Syntax
    'Declaration
     
    Public Overloads Function OnLongOperation( _
       ByVal complete As Double, _
       ByVal canCancel As Boolean _
    ) As Boolean
    public bool OnLongOperation( 
       double complete,
       bool canCancel
    )

    Parameters

    complete
    How much is complete (from 0 to 1).
    canCancel
    Whether the operation can be cancelled.

    Return Value

    True if the operation should be cancelled.
    See Also