←Select platform

PrintDocument Property

Summary

The print document object associated with this print job

Syntax

C#
VB
C++
public virtual PrintDocument PrintDocument { get; set; } 
Public Overridable Property PrintDocument() As System.Drawing.Printing.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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls.WinForms Assembly