PDF File Writer Class Library - Author Uzi Granot
PdfPrintDocument Class |
PDF print document class

SystemObject SystemMarshalByRefObject
System.ComponentModelComponent
System.Drawing.PrintingPrintDocument
PdfFileWriterPdfPrintDocument
System.ComponentModelComponent
System.Drawing.PrintingPrintDocument
PdfFileWriterPdfPrintDocument
Namespace: PdfFileWriter
Assembly: PdfFileWriter (in PdfFileWriter.dll) Version: 1.1.24.0 (1.1.24.0)

C#
public class PdfPrintDocument : PrintDocument
The PdfPrintDocument type exposes the following members.

Name | Description | |
---|---|---|
![]() | PdfPrintDocument |
PDF print document constructor
|

Name | Description | |
---|---|---|
![]() | CanRaiseEvents | Gets a value indicating whether the component can raise an event. (Inherited from Component.) |
![]() | Container | Gets the IContainer that contains the Component. (Inherited from Component.) |
![]() | DefaultPageSettings | Gets or sets page settings that are used as defaults for all pages to be printed. (Inherited from PrintDocument.) |
![]() | DesignMode | Gets a value that indicates whether the Component is currently in design mode. (Inherited from Component.) |
![]() | DocumentInColor |
Gets or sets DocumentInColor flag.
|
![]() | DocumentName | Gets or sets the document name to display (for example, in a print status dialog box or printer queue) while printing the document. (Inherited from PrintDocument.) |
![]() | Events | Gets the list of event handlers that are attached to this Component. (Inherited from Component.) |
![]() | GetMargins |
Gets margins in 100th of an inch
|
![]() | GrayToBWCutoff |
Gray to BW cutoff level
|
![]() | ImageQuality |
Gets or sets Jpeg image quality
|
![]() | OriginAtMargins | Gets or sets a value indicating whether the position of a graphics object associated with a page is located just inside the user-specified margins or at the top-left corner of the printable area of the page. (Inherited from PrintDocument.) |
![]() | PageCropRect |
Document page crop rectangle
|
![]() | PrintController | Gets or sets the print controller that guides the printing process. (Inherited from PrintDocument.) |
![]() | PrinterSettings | Gets or sets the printer that prints the document. (Inherited from PrintDocument.) |
![]() | Resolution |
Image resolution in pixels per inch (default is 96)
|
![]() | SaveAs |
Save image as (default is jpeg)
|
![]() | Site | (Inherited from Component.) |

Name | Description | |
---|---|---|
![]() | AddPagesToPdfDocument |
Add pages to PDF document
|
![]() | CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.) |
![]() | Dispose | Releases all resources used by the Component. (Inherited from Component.) |
![]() | Dispose(Boolean) | Releases the unmanaged resources used by the Component and optionally releases the managed resources. (Inherited from Component.) |
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection. (Inherited from Component.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) |
![]() | GetService | (Inherited from Component.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | MemberwiseClone(Boolean) | Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.) |
![]() | OnBeginPrint | Raises the BeginPrint event. It is called after the Print method is called and before the first page of the document prints. (Inherited from PrintDocument.) |
![]() | OnEndPrint | Raises the EndPrint event. It is called when the last page of the document has printed. (Inherited from PrintDocument.) |
![]() | OnPrintPage | Raises the PrintPage event. It is called before a page prints. (Inherited from PrintDocument.) |
![]() | OnQueryPageSettings | Raises the QueryPageSettings event. It is called immediately before each PrintPage event. (Inherited from PrintDocument.) |
![]() | Starts the document's printing process. (Inherited from PrintDocument.) | |
![]() | SetMargins |
Sets margins in user units.
|
![]() | ToString | Provides information about the print document, in string form. (Inherited from PrintDocument.) |

Name | Description | |
---|---|---|
![]() | BeginPrint | Occurs when the Print method is called and before the first page of the document prints. (Inherited from PrintDocument.) |
![]() | Disposed | Occurs when the component is disposed by a call to the Dispose method. (Inherited from Component.) |
![]() | EndPrint | Occurs when the last page of the document has printed. (Inherited from PrintDocument.) |
![]() | PrintPage | Occurs when the output to print for the current page is needed. (Inherited from PrintDocument.) |
![]() | QueryPageSettings | Occurs immediately before each PrintPage event. (Inherited from PrintDocument.) |


It is a derived class of PrintDocument. The class converts the metafile output of PrintDocument to an image. The image is displayed in the PDF document.
For more information go to 2.11 Print Document Support
