←Select platform

PrintDocument Property

Summary

The print document object associated with this print job

Syntax
C#
C++/CLI
public virtual PrintDocument PrintDocument { get; set; } 
public:  
   virtual property System::Drawing::Printing::PrintDocument^ PrintDocument 
   { 
      System::Drawing::Printing::PrintDocument^ get() 
      void set(System::Drawing::Printing::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.

Requirements

Target Platforms

Help Version 22.0.2023.1.24
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.