Leadtools.Codecs Namespace > CodecsSaveImageEventArgs Class : PagePercent Property |
public int PagePercent {get;}
'Declaration Public ReadOnly Property PagePercent As Integer
'Usage Dim instance As CodecsSaveImageEventArgs Dim value As Integer value = instance.PagePercent
public int PagePercent {get;}
@property (nonatomic, readonly, assign) unsigned int pagePercent;
public int getPagePercent()
get_PagePercent();
Using the PagePercent and TotalPercent properties, you can use the CodecsSaveImageEventArgs to show a progress bar of the current save operation.
When saving a multi-page file, PagePercent will go from 0 to 100 for each page saved while TotalPercent will go from 0 to 100 only once during the whole page operation. Usually, you will use TotalPercent to show an overall save progress if the multi-page image is considered to be one document. If however, individual progress is required for each page, then you can track the PagePercent property as well.
When saving a single page file or one page to a multi-page file, both PagePercent and TotalPercent will go from 0 to 100 simultaneously.