[]
        
(Showing Draft Content)

C1.C1Preview.C1PrintDocument.OnLongOperation

OnLongOperation Method

OnLongOperation(double, bool)

Called to indicate the progress of document generating.

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

How much is complete (from 0 to 1).

bool canCancel

Whether the generating can be cancelled.

Returns
Type Description
bool

Returns true if generation is not aborted.