PdfPrinterResolution
Contents
[
Hide
]Inheritance: java.lang.Object
public class PdfPrinterResolution
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. |
setKind(int value) | Gets or sets the printer resolution. |
getX() | Gets the horizontal printer resolution, in dots per inch. |
setX(int value) | Sets the horizontal printer resolution, in dots per inch. |
getY() | Gets the vertical printer resolution, in dots per inch. |
setY(int value) | 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: int - PdfPrinterResolutionKind element
setKind(int value)
public void setKind(int value)
Gets or sets the printer resolution.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int | PdfPrinterResolutionKind element |
getX()
public int getX()
Gets the horizontal printer resolution, in dots per inch.
Returns: int - int value
setX(int value)
public void setX(int value)
Sets the horizontal printer resolution, in dots per inch.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int | int value |
getY()
public int getY()
Gets the vertical printer resolution, in dots per inch.
Returns: int - int value
setY(int value)
public void setY(int value)
Sets the vertical printer resolution, in dots per inch.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int | int value |