Gets or sets the System.Drawing.Printing.PrintDocument object associated with this print job
public PrintDocument PrintDocument { get; set; }
Public Overridable Property PrintDocument As PrintDocument
public:
virtual property PrintDocument^ PrintDocument {
PrintDocument^ get();
void set ( PrintDocument^ );
}
The System.Drawing.Printing.PrintDocument object associated with this print job.
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.
For an example, refer to RasterImagePrinter and ImageRectangle.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET