.NET Framework Class Library
PageResolution Class
Defines the page resolution of printed output as either a qualitative value or as dots per inch, or both.
Inheritance Hierarchy
System.Object
System.Printing.PageResolution
Namespace: System.Printing
Assembly: ReachFramework (in ReachFramework.dll)
Syntax
Visual Basic
Public NotInheritable Class PageResolution
C#
public sealed class PageResolution
Visual C++
public ref class PageResolution sealed
F#
[<Sealed>] type PageResolution = class end
The PageResolution type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
|
PageResolution(PageQualitativeResolution) | Initiates a new instance of the PageResolution class that has the specified PageQualitativeResolution. |
|
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) | Initiates a new instance of the PageResolution class that has the specified PageQualitativeResolution and the specified vertical and horizontal dots per inch. |
Properties
| Name | Description | |
|---|---|---|
|
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
| Name | Description | |
|---|---|---|
|
Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
GetHashCode | Serves as a hash function for a particular type. (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. (Overrides Object.ToString().) |
Version Information
.NET Framework
Supported in: 4, 3.5, 3.0.NET Framework Client Profile
Supported in: 4, 3.5 SP1Platforms
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.See Also