PrintDocument for WinForms | ComponentOne
C1.PrintDocument.6 Assembly / C1.C1Preview Namespace / C1PrintManager Class / LongOperation Event

In This Topic
    LongOperation Event (C1PrintManager)
    In This Topic
    Occurs periodically when a long operation is in progress. Can be used to provide progress indication and/or the ability for the user to cancel printing.
    Syntax
    'Declaration
     
    Public Event LongOperation As C1.Win.LongOperationEventHandler
    public event C1.Win.LongOperationEventHandler LongOperation
    Event Data

    The event handler receives an argument of type C1.Win.LongOperationEventArgs containing data related to this event. The following LongOperationEventArgs properties provide information specific to this event.

    PropertyDescription
    Gets the value indicating whether the event handler can cancel the current long operation by setting the C1.Win.LongOperationEventArgs.Cancel property to true.  
    Gets or sets a value indicating whether the current long operation should be cancelled. (This property is ignored if C1.Win.LongOperationEventArgs.CanCancel is false.)  
    Gets the approximate completed ratio, from 0 (0% complete) to 1 (100% complete).  
    See Also