ImageGear for Silverlight
Selecting the Paper Size and Orientation
Send Feedback
ImageGear for Silverlight User Guide > Using ImageGear for Silverlight > Printing Images > Selecting the Paper Size and Orientation

Glossary Item Box

Silverlight gives an application very limited control of printer settings. Specifically, the application cannot set the paper size and orientation that will be used for printing. It also cannot inquire about these settings before the printing actually starts.

The PrintJob Class provides API for specifying the desired paper size and orientation. PrintPreview and PrintPreviewWindow also allow the user to set these parameters via the UI controls. ImageGear uses these parameters to compose the page for printing. However, these parameters are not sent to the printer, as mentioned above. The end user must ensure that the paper size and layout of the actual printer are set to the same settings in order to achieve the desired result.

If the paper size is not specified, PrintJob composes the page according to the actual paper size, obtained from the PrintDocument.PrintPage event arguments.

If the paper size is not specified for PrintPreview or PrintPreviewWindow, the preview is not available. In order to see the preview, either the application or the user must specify the paper size.

©2013. Accusoft Corporation. All Rights Reserved.