action Property

Summary

Determines how the page data will be prepared.

Syntax

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

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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Documents.UI Assembly