An enumeration to determine the preparation actions to take when printing.
lt.Document.Viewer.DocumentPrintPageAction = {
auto: 0,
remove: 1,
manual: 2
}
lt.Document.Viewer.DocumentPrintPageAction = {
auto: 0,
remove: 1,
manual: 2
}
0 | Auto | Default. Indicates that DocumentViewer.Print should load the page for printing through the service or through PDF Client Rendering (see PrintDocumentOptions.UsePDFClientRendering). |
1 | Remove | Indicates that DocumentViewer.Print should not load the page and should ignore it when printing. When assembling the printing structure in DocumentPrintData.BuildPrintRoot, the page will be ignored and not added to the HTML structure. |
2 | Manual | Indicates that the user will be responsible for providing the content of the page for printing. DocumentViewer.Print does not attempt to load the page data like in Auto . This page data will still be assembled into the DocumentPrintData.Root when DocumentPrintData.BuildPrintRoot is called, though if the DocumentPrintPageData.PageElement is null, it acts like Remove . |
When printing, updates are sent on the progress of DocumentViewer.Print through DocumentViewer.Operation with DocumentViewerOperation.PrintPages. When DocumentViewerOperationEventArgs.IsPostOperation is false (indicating the page is about to be prepared), DocumentPrintPageData.Action is used to determine what DocumentViewer.Print should do to prepare the page.
For more information, see 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