action Property

Summary

Determines how the page data will be prepared.

Syntax
TypeScript
JavaScript
Object.defineProperty(DocumentPrintPageData.prototype, 'action', 
	get: function(), 
	set: function(value) 
) 

Property Value

A value of DocumentPrintPageAction to specify how the page data will be prepared and printed. The default is DocumentPrintPageAction.Auto.

Remarks

During DocumentViewer.Print, the document viewer will receive updates as each page is to be prepared for printing. DocumentViewer.Operation is called with DocumentViewerOperation.PrintPages, and DocumentViewerOperationEventArgs.IsPostOperation will indicate whether this is before or after the page is being prepared.

If before, the user can use Action to specify how they want the page data to be retrieved. The default DocumentPrintPageAction.Auto will have DocumentViewer.Print load the page image using either an ImageLoader and the DocumentViewerOperation.GetPage event or PDF Client Rendering (if available and using PrintDocumentOptions.usePDFClientRendering).

For more information, refer to DocumentViewer.Print.

History

19.0.0.48
Added
Requirements
Target Platforms
Help Version 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document.Viewer Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.