PrintDocument Methods

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Namespace:   System.Drawing.Printing
Assembly:  System.Drawing (in System.Drawing.dll)

NameDescription
System_CAPS_pubmethodCreateObjRef(Type)

Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodDispose()

Releases all resources used by the Component.(Inherited from Component.)

System_CAPS_protmethodDispose(Boolean)

Releases the unmanaged resources used by the Component and optionally releases the managed resources.(Inherited from Component.)

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection.(Inherited from Component.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetLifetimeService()

Retrieves the current lifetime service object that controls the lifetime policy for this instance.(Inherited from MarshalByRefObject.)

System_CAPS_protmethodGetService(Type)

Returns an object that represents a service provided by the Component or by its Container.(Inherited from Component.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodInitializeLifetimeService()

Obtains a lifetime service object to control the lifetime policy for this instance.(Inherited from MarshalByRefObject.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone(Boolean)

Creates a shallow copy of the current MarshalByRefObject object.(Inherited from MarshalByRefObject.)

System_CAPS_protmethodOnBeginPrint(PrintEventArgs)

Raises the BeginPrint event. It is called after the Print method is called and before the first page of the document prints.

System_CAPS_protmethodOnEndPrint(PrintEventArgs)

Raises the EndPrint event. It is called when the last page of the document has printed.

System_CAPS_protmethodOnPrintPage(PrintPageEventArgs)

Raises the PrintPage event. It is called before a page prints.

System_CAPS_protmethodOnQueryPageSettings(QueryPageSettingsEventArgs)

Raises the QueryPageSettings event. It is called immediately before each PrintPage event.

System_CAPS_pubmethodPrint()

Starts the document's printing process.

System_CAPS_pubmethodToString()

This API supports the product infrastructure and is not intended to be used directly from your code. Provides information about the print document, in string form.(Overrides Component.ToString().)

Return to top
Show: