Editare

Partajați prin


PageResolution Constructors

Definition

Initiates a new instance of the PageResolution class.

Overloads

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.

PageResolution(PageQualitativeResolution)

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

public:
 PageResolution(System::Printing::PageQualitativeResolution qualitative);
public PageResolution (System.Printing.PageQualitativeResolution qualitative);
new System.Printing.PageResolution : System.Printing.PageQualitativeResolution -> System.Printing.PageResolution
Public Sub New (qualitative As PageQualitativeResolution)

Parameters

qualitative
PageQualitativeResolution

A value representing the resolution.

Applies to

PageResolution(Int32, Int32)

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

public:
 PageResolution(int resolutionX, int resolutionY);
public PageResolution (int resolutionX, int resolutionY);
new System.Printing.PageResolution : int * int -> System.Printing.PageResolution
Public Sub New (resolutionX As Integer, resolutionY As Integer)

Parameters

resolutionX
Int32

The horizontal resolution in dots per inch.

resolutionY
Int32

The vertical resolution in dots per inch.

Remarks

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.

Applies to

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.

public:
 PageResolution(int resolutionX, int resolutionY, System::Printing::PageQualitativeResolution qualitative);
public PageResolution (int resolutionX, int resolutionY, System.Printing.PageQualitativeResolution qualitative);
new System.Printing.PageResolution : int * int * System.Printing.PageQualitativeResolution -> System.Printing.PageResolution
Public Sub New (resolutionX As Integer, resolutionY As Integer, qualitative As PageQualitativeResolution)

Parameters

resolutionX
Int32

The horizontal resolution in dots per inch.

resolutionY
Int32

The vertical resolution in dots per inch.

qualitative
PageQualitativeResolution

A value representing the resolution.

Remarks

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.

Applies to