PDFPrintManager Class |
await Windows.Graphics.Printing.PrintManager.ShowPrintUIAsync();
Namespace: pdftron.PDF
public sealed class PDFPrintManager
The PDFPrintManager type exposes the following members.
Name | Description | |
---|---|---|
AddStandardPrintOption |
Used to add standard print options
(http://msdn.microsoft.com/en-us/library/windows/apps/windows.graphics.printing.standardprinttaskoptions.ASPx)
that appear in the print window.
| |
AddUserOptionAnnotations |
Adds an option that allows the user to select if annotations and comments are printed.
| |
AddUserOptionAutoRotate |
Adds an option that allows the user to select if pages are automatically rotated to best fit the output pages
| |
AddUserOptionBorder |
Adds an option that allows the user to select if a page is printed with a thin border.
| |
AddUserOptionNUp |
Adds an option that allows the user to select if pages are printed per sheet. Use of this option is mutally exlusive
with using the standard print option Windows.Graphics.Printing.StandardPrintTaskOptions.NUp, where this option may be
preferred because it allows PDFNet to offer an accurate print preview, as well as offer the option for every printer
and not just those who's drivers support NUp.
| |
AddUserOptionPageRange |
Adds an option that allows the user to select a subset of the document to print.
| |
AddUserOptionScaleType |
Adds an option that allows the user to select how the content is scaled to fit the page.
| |
CancelPrinting |
Cancels printing if called before the document is sent to the print spooler. This method
can cancel the method PrintIPrintDocumentPackageTarget.
| |
ClearPrintOptions |
Removes all of the options added via AddStandardPrintOption and AddPageRangeOption.
| |
Equals | (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetInstance |
Gets the PDFPrintManager
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
RegisterForPrintingContract |
Registers the current print contract for the current view and provides the document to be
printed. This method should be called every time a new document is displayed so that the
name can be updated. The name will appear in the system print job window, as well as be used
for the file name by virtual printer drivers. You do not need to call
UnRegisterForPrintingContract() | |
SetAnnotations |
Programmatically set if annotations are printed
| |
SetAutoRotate |
Programmatically set if content should be automatically rotated to best fit the printed page.
| |
SetBorder |
Programmatically set if pages should have a thin outline.
| |
SetNUp |
Programmatically set how many pages to print per sheet, in rows and columns.
| |
SetResourceLoader |
Set a resource loader to change the names for the option strings used in the print bar.
This can be used to add new languages. Please see the PDFVewCtrlDemo's file Resources.resw
for a list of keys and English values. If no ResourceLoader is provided, the print bar
will use keys as values.
| |
SetScaleType |
Programmatically set the scale type.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
UnRegisterForPrintingContract |
Unregisters the print contract. Explicitly calling this method should not normally be necessary
as it will be automatically called by RegisterForPrintingContract when needed as well as the
destructor.
|
Name | Description | |
---|---|---|
PrintingRequested |
This event is raised when the users prints a document. When the PDFPrintManager gets a new print task, it is forwarded through
this event so that progress and status can be monitored.
|