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
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