Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
PrintDocument Methods

PrintDocument Methods

(see also Protected Methods )
  Name Description
Public method 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)
Public method Dispose  Overloaded. Releases the resources used by the Component. (inherited from Component)
Public method Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method GetLifetimeService  Retrieves the current lifetime service object that controls the lifetime policy for this instance. (inherited from MarshalByRefObject)
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method InitializeLifetimeService  Obtains a lifetime service object to control the lifetime policy for this instance. (inherited from MarshalByRefObject)
Public method Print Starts the document's printing process.
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method ToString Overridden. Provides information about the print document, in string form.
Top

  Name Description
Protected method Dispose  Overloaded. Releases the resources used by the Component. (inherited from Component)
Protected method Finalize  Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection. (inherited from Component)
Protected method GetService  Returns an object that represents a service provided by the Component or by its Container. (inherited from Component)
Protected method MemberwiseClone  Overloaded. (inherited from MarshalByRefObject)
Protected method OnBeginPrint Raises the BeginPrint event. It is called after the Print method is called and before the first page of the document prints.
Protected method OnEndPrint Raises the EndPrint event. It is called when the last page of the document has printed.
Protected method OnPrintPage Raises the PrintPage event. It is called before a page prints.
Protected method OnQueryPageSettings Raises the QueryPageSettings event. It is called immediately before each PrintPage event.
Top

Community Additions

ADD
Show:
© 2015 Microsoft