public int TotalPercent { get; }
Public ReadOnly Property TotalPercent As Integer
@property (nonatomic, assign, readonly) NSUInteger totalPercent
public int getTotalPercent()
public:
property int TotalPercent {
int get();
}
A number between 0 and 100 that indicates the overall completion percentage of the save operation.
Using the PagePercent and TotalPercent properties, you can use the CodecsSaveImageEventArgs to show a progress bar of the current save operation.
When saving a multipage 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 multipage 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 multipage file, both PagePercent and TotalPercent will go from 0 to 100 simultaneously.
For an example, refer to RasterCodecs.SaveImage.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document