Disposes the elements and data for this printing page.
DocumentPrintPageData.prototype.dispose = function()
dispose(): void;
By default, PrintDocumentOptions.AutoDispose is true, dictating that the most recent DocumentPrintData will be disposed with DocumentPrintData.Dispose when a new DocumentViewer.Print begins. This disposal will also call Dispose for each page.
It is important to dispose the page elements when using PrintDocumentOptions.UsePDFClientRendering, as Blob URLs may be used for the image data and not revoking them could cause memory leaks.
All properties of DocumentPrintPageData are get
and set
, so PageElement and AnnotationsElement can be set to null to avoid disposal if the user intends to reuse them.
For more information, refer to DocumentViewer.Print.
History
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