Gets the load completion percentage of the current page.
public int PagePercent { get; }
Public ReadOnly Property PagePercent As Integer
public int PagePercent {get;}
@property (nonatomic, assign, readonly) NSUInteger pagePercent
public int getPagePercent()
get_PagePercent();
public:
property int PagePercent {
int get();
}
A number between 0 and 100 that indicates the completion percentage of the load operation of the current page.
Using the PagePercent and TotalPercent properties, you can use the CodecsLoadImageEventArgs to show a progress bar of the current load operation.
When loading a multi-page file, PagePercent will go from 0 to 100 for each page loaded while TotalPercent will go from 0 to 100 only once during the whole page operation. Usually, you will use TotalPercent to show an overall load 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 loading a single page file or one page from a multi-page file, both PagePercent and TotalPercent will go from 0 to 100 simultaneously.
For an example, refer to RasterCodecs.LoadImage.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET