[]
        
(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)
Protected Overridable Sub OnLongOperation(e As LongOperationEventArgs)
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)
Public Function OnLongOperation(complete As Double, canCancel As Boolean) As Boolean
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.