PageResolution PageResolution PageResolution PageResolution Class

Definition

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

public ref class PageResolution sealed
public sealed class PageResolution
type PageResolution = class
Public NotInheritable Class PageResolution
Inheritance
PageResolutionPageResolutionPageResolutionPageResolution

Remarks

Caution

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.

Constructors

PageResolution(Int32, Int32) PageResolution(Int32, Int32) PageResolution(Int32, Int32) PageResolution(Int32, Int32)

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

PageResolution(Int32, Int32, PageQualitativeResolution) PageResolution(Int32, Int32, PageQualitativeResolution) PageResolution(Int32, Int32, PageQualitativeResolution) PageResolution(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.

PageResolution(PageQualitativeResolution) PageResolution(PageQualitativeResolution) PageResolution(PageQualitativeResolution) PageResolution(PageQualitativeResolution)

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

Properties

QualitativeResolution QualitativeResolution QualitativeResolution QualitativeResolution

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

X X X X

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

Y Y Y Y

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

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns the page resolution as a String.

Applies to

See also