PageResolution Class

 
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.

Defines the page resolution of printed output as either a qualitative value or as dots per inch, or both.

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

System.Object
  System.Printing.PageResolution

public sealed class PageResolution

NameDescription
System_CAPS_pubmethodPageResolution(Int32, Int32)

Initiates a new instance of the PageResolution class that has the specified vertical and horizontal dots per inch.

System_CAPS_pubmethodPageResolution(Int32, Int32, PageQualitativeResolution)

Initiates a new instance of the PageResolution class that has the specified PageQualitativeResolution and the specified vertical and horizontal dots per inch.

System_CAPS_pubmethodPageResolution(PageQualitativeResolution)

Initiates a new instance of the PageResolution class that has the specified PageQualitativeResolution.

NameDescription
System_CAPS_pubpropertyQualitativeResolution

Gets the qualitative expression, if any, of the page resolution.

System_CAPS_pubpropertyX

Gets the dots-per-inch measure of the horizontal page resolution.

System_CAPS_pubpropertyY

Gets the dots-per-inch measure of the vertical page resolution.

NameDescription
System_CAPS_pubmethodEquals(Object)

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

System_CAPS_pubmethodGetHashCode()

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

System_CAPS_pubmethodGetType()

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

System_CAPS_pubmethodToString()

Returns the page resolution as a String. (Overrides Object.ToString().)

System_CAPS_cautionCaution

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
Available since 3.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: