Indicates that only parts of the document in the given viewport rectangle should be rendered for printing.
To take a screenshot of the page (printing the document with the given zoom level, position, rotation, and visible area), ViewportClip should be set to a LeadRectD starting at
0,0 and with a size equal to ImageViewer.ControlSize from the DocumentViewerView.ImageViewer. This would indicate to DocumentViewer.Print that only the sections of the page images that are visible in this area should be printed.
Additionally, to create a screenshot UseViewportLayout should be true. Keeping UseViewportLayout to false while setting a value for ViewportClip will continue to print each document page on a separate printed page.
For more information, refer to DocumentViewer.Print.
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries