Error processing SSI file
LEADTOOLS Windows Forms (Leadtools.WinForms assembly)

Show in webframe

PrintDocument Property






Gets or sets the System.Drawing.Printing.PrintDocument object associated with this print job
Syntax
public PrintDocument PrintDocument {get; set;}
'Declaration
 
Public Property PrintDocument As PrintDocument
'Usage
 
Dim instance As RasterImagePrinter
Dim value As PrintDocument
 
instance.PrintDocument = value
 
value = instance.PrintDocument

            

            
public:
property PrintDocument^ PrintDocument {
   PrintDocument^ get();
   void set (    PrintDocument^ value);
}

Property Value

The System.Drawing.Printing.PrintDocument object associated with this print job.
Remarks

You must set the PrintDocument property to the System.Drawing.Printing.PrintDocument object you are using for this print job. The RasterImagePrinter class requires this object to determine whether the printing operation is inside in preview mode (for example, using the print view dialog control) and calculates the real page margins accordingly.

Example
For an example, refer to RasterImagePrinter and ImageRectangle.
Requirements

Target Platforms

See Also

Reference

RasterImagePrinter Class
RasterImagePrinter Members

Error processing SSI file