This documentation is archived and is not being maintained.

PageResolution.PageResolution(Int32, Int32) Constructor

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

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

public PageResolution (
	int resolutionX,
	int resolutionY
)
public PageResolution (
	int resolutionX, 
	int resolutionY
)
public function PageResolution (
	resolutionX : int, 
	resolutionY : int
)
You cannot use constructors in XAML.

Parameters

resolutionX

The horizontal resolution in dots per inch.

resolutionY

The vertical resolution in dots per inch.

For most printers, resolutionX is the paper dimension that is perpendicular to the direction of paper movement through the printer, and resolutionY is the paper dimension that is parallel to the direction of paper movement. The two values are usually the same.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0
Show: