The size of the printed viewport, for reference, if PrintDocumentOptions.UseViewportLayout is used.
Object.defineProperty(DocumentPrintData.prototype, 'viewportSize',
get: function(),
set: function(value)
)
viewportSize: LeadSizeD;
A LeadSizeD indicating the size of the viewport used for printing, or LeadSizeD.Empty if PrintDocumentOptions.UseViewportLayout is false.
When PrintDocumentOptions.UseViewportLayout is true, the printed pages from PrintDocumentOptions.PagesList will be arranged based on their relative positions in the ImageViewer.ViewLayout of the DocumentViewerView.ImageViewer.
ViewportSize will be set to the ImageViewer.ControlSize to indicate the viewport being used. All image data for the pages will be available at ViewportImage.
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