PdfPrinterResolution

Inheritance: java.lang.Object

public class PdfPrinterResolution

Represents the resolution supported by a printer.

Constructors

ConstructorDescription
PdfPrinterResolution()Initializes a new instance of the PrinterResolution class.

Methods

MethodDescription
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:

ParameterTypeDescription
valueintPdfPrinterResolutionKind 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:

ParameterTypeDescription
valueintint 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:

ParameterTypeDescription
valueintint value