[]
        
(Showing Draft Content)

C1.Win.C1Preview.C1PreviewPane.OnLongOperation

OnLongOperation Method

OnLongOperation(LongOperationEventArgs)

Raises the LongOperation event on the preview pane.

Declaration
protected virtual void OnLongOperation(LongOperationEventArgs e)
Parameters
Type Name Description
LongOperationEventArgs e

A C1.Win.LongOperationEventArgs that contains the event data.

OnLongOperation(double, bool)

Raises the LongOperation event on the preview pane.

Declaration
public bool OnLongOperation(double complete, bool canCancel)
Parameters
Type Name Description
double complete

How much is complete (from 0 to 1).

bool canCancel

Whether the operation can be cancelled.

Returns
Type Description
bool

True if the operation should be cancelled.