PrintFilter Class

Defines disposal behavior that is common to both the PrintDriver and PrintProcessor classes. PrintFilter supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.

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

public abstract class PrintFilter : PrintSystemObject

The PrintFilter type exposes the following members.

  NameDescription
Protected propertyIsDisposedGets or sets a value that indicates whether the object has been disposed. (Inherited from PrintSystemObject.)
Public propertyNameGets the name of the object. (Inherited from PrintSystemObject.)
Public propertyParentGets the parent of the object. (Inherited from PrintSystemObject.)
Public propertyPropertiesCollectionGets a collection of attribute and value pairs. (Inherited from PrintSystemObject.)
Top

  NameDescription
Public methodCommitWhen overridden in a derived class, writes any changes that your program has made to the object's properties to the actual software or hardware component that the object represents. (Inherited from PrintSystemObject.)
Public methodDispose()Releases all resources used by the PrintSystemObject. (Inherited from PrintSystemObject.)
Protected methodDispose(Boolean)Releases the unmanaged resources used by the PrintSystemObject and optionally releases the managed resources. (Inherited from PrintSystemObject.)
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeReleases the resources that are being used by the PrintSystemObject. (Inherited from PrintSystemObject.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodInitializeInitializes the properties of the PrintSystemObject. (Inherited from PrintSystemObject.)
Protected methodInternalDisposeReleases the unmanaged resources that are used by the class that is derived from PrintFilter and optionally releases the managed resources. (Overrides PrintSystemObject.InternalDispose(Boolean).)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodRefreshWhen overridden in a derived class, updates the properties of an object of the derived class so that its values match the values of the actual software or hardware component that the object represents. (Inherited from PrintSystemObject.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

Caution noteCaution

Classes within the System.Printing namespace are not supported for use within a Windows service or ASP.NET application or service. Attempting to use these classes from within one of these application types may produce unexpected problems, such as diminished service performance and run-time exceptions.

If you want to print from a Windows Forms application, see the System.Drawing.Printing namespace.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft