Export (0) Print
Expand All

PrintTicket.PageResolution Property

Gets or sets the level of page resolution that the printer uses for a print job.

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

public PageResolution PageResolution { get; set; }

Property Value

Type: System.Printing.PageResolution
A PageResolution value that represents the resolution as a qualitative value, a dots-per-inch value, or both.

ExceptionCondition
ArgumentOutOfRangeException

Calling code has attempted to set the property with a PageResolution object that has at least one null property.

- or -

Calling code has attempted to set the property with a PageMediaSize object whose QualitativeResolution property is set to a value that is not in the PageQualitativeResolution enumeration.

- or -

Calling code has attempted to set the property with a PageResolution object whose X or Y property is set to a value less than 1.

The PageResolution class has properties in which you can specify the dots-per-inch for the X and Y dimensions and a property where you can give a qualitative expression to the resolution.

This property corresponds to the Print Schema's PageResolution keyword.

You can test for the options that the printer supports by using the PageResolutionCapability property.

.NET Framework

Supported in: 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.

Show:
© 2014 Microsoft