[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.GcPdfDocument.OnSavingDocument

OnSavingDocument Method

OnSavingDocument(float, bool)

Fires the SavingDocument event.

Declaration
protected virtual bool OnSavingDocument(float progress, bool canCancel)
Protected Overridable Function OnSavingDocument(progress As Single, canCancel As Boolean) As Boolean
Parameters
Type Name Description
float progress

The current saving progress from 0 to 1.

bool canCancel

Whether the operation can be canceled.

Returns
Type Description
bool

true if operation was no canceled; otherwise false.