PdfPrinterResolution
Contents
[
Hide
]Inheritance: java.lang.Object, com.aspose.pdf.printing.PdfPrinterResolution
public class PdfPrinterResolution extends Object
Represents the resolution supported by a printer.
Constructors
| Constructor | Description |
|---|---|
| PdfPrinterResolution | Initializes a new instance of the PrinterResolution class. |
Methods
| Method | Description |
|---|---|
| getKind | sets the printer resolution. |
| getX | Gets the horizontal printer resolution, in dots per inch. |
| getY | Gets the vertical printer resolution, in dots per inch. |
| setKind | Gets or sets the printer resolution. |
| setX | Sets the horizontal printer resolution, in dots per inch. |
| setY | Sets the vertical printer resolution, in dots per inch. |
PdfPrinterResolution
public PdfPrinterResolution()
Initializes a new instance of the PrinterResolution class.
getKind
public int getKind()
sets the printer resolution.
Returns: PdfPrinterResolutionKind element @see PdfPrinterResolutionKind
getX
public int getX()
Gets the horizontal printer resolution, in dots per inch.
Returns: int value
getY
public int getY()
Gets the vertical printer resolution, in dots per inch.
Returns: int value
setKind
public void setKind(int value)
Gets or sets the printer resolution.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | PdfPrinterResolutionKind element @see PdfPrinterResolutionKind |
setX
public void setX(int value)
Sets the horizontal printer resolution, in dots per inch.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int value |
setY
public void setY(int value)
Sets the vertical printer resolution, in dots per inch.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int value |