public class PrinterResolution extends Object
Represents the resolution supported by a printer.
| Constructor and Description |
|---|
PrinterResolution() |
| Modifier and Type | Method and Description |
|---|---|
int |
getX()
Gets the horizontal printer resolution, in dots per inch.
|
int |
getY()
Gets the vertical printer resolution, in dots per inch.
|
void |
setX(int value)
Sets the horizontal printer resolution, in dots per inch.
|
void |
setY(int value)
Sets the vertical printer resolution, in dots per inch.
|
public final int getX()
Gets the horizontal printer resolution, in dots per inch.
Kind is set to PrinterResolutionKind.Custom; otherwise, a dmPrintQuality value.public final void setX(int value)
Sets the horizontal printer resolution, in dots per inch.
value - the horizontal printer resolution, in dots per inch.public final int getY()
Gets the vertical printer resolution, in dots per inch.
public final void setY(int value)
Sets the vertical printer resolution, in dots per inch.
value - the vertical printer resolution, in dots per inch.Copyright (c) 2008-2025 Aspose Pty Ltd. All Rights Reserved.