Starting with version 4.0 of the Silverlight framework, printing is available for Silverlight applications. The Silverlight framework provides API that allows printing of any UIElement. The application can create a canvas, render an ImageGear image onto it, using ImGearPresentationPageDisplay.DrawToCanvas method, and send it for printing. The application can also create and print more complex visual trees, including one or several canvases with ImageGear rendered images.
ImageGear.Printing Namespace provides classes that simplify the printing process for the application. They support printing of annotations, multi-page printing, and also handle the common printing parameters such as margins, header/footer, page numbering, and paper sizes.
- The PrintJob Class provides API that allows applications to specify print settings and print ImageGear documents programmatically.
ImageGear.Windows.Controls Namespace also provides two UI classes:
- PrintPreview is a UI control that allows the end user to select print settings and print the document pages.
- PrintPreviewWindow is a ChildWindow-based wrapper for the PrintPreview.