Uredi

Deli z drugimi prek


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
PageResolution

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, PageQualitativeResolution)

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

PageResolution(Int32, Int32)

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

PageResolution(PageQualitativeResolution)

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

Properties

QualitativeResolution

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

X

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

Y

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

Methods

Equals(Object)

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

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns the page resolution as a String.

Applies to

See also