Delegate MetaFileSaveWorkProgress
Event launched when saving a MetaFile, so on large MetaFiles (or low bandwidth)
you can show save progress to the user
Assembly: Reportman.Drawing.dll
public delegate void MetaFileSaveWorkProgress(int currentpage, int pagecount, ref bool docancel)
Parameters
| Type |
Name |
Description |
| int |
currentpage |
Current page being saved
|
| int |
pagecount |
Total number of pages to save
|
| bool |
docancel |
Set this reference variable to true to cancel the MetaFile saving
|
Constructors
Declaration
public MetaFileSaveWorkProgress(object @object, nint method)
Parameters
Methods
Declaration
public virtual IAsyncResult BeginInvoke(int currentpage, int pagecount, ref bool docancel, AsyncCallback callback, object @object)
Parameters
Returns
Declaration
public virtual void EndInvoke(ref bool docancel, IAsyncResult result)
Parameters
Declaration
public virtual void Invoke(int currentpage, int pagecount, ref bool docancel)
Parameters
| Type |
Name |
Description |
| int |
currentpage |
|
| int |
pagecount |
|
| bool |
docancel |
|