PrintPaperSource

Inheritance: java.lang.Object

public class PrintPaperSource

Specifies the paper tray from which the printer gets paper.

Constructors

ConstructorDescription
PrintPaperSource()Initializes a new instance of the PaperSource class.

Methods

MethodDescription
getKind()Gets the paper source.
getRawKind()Gets or sets the integer representing one of the PaperSourceKind values or a custom value.
getSourceName()Gets or sets the name of the paper source.
setRawKind(int value)Gets or sets the integer representing one of the PaperSourceKind values or a custom value.
setSourceName(String value)Gets or sets the name of the paper source.
toString()Infrastructure.

PrintPaperSource()

public PrintPaperSource()

Initializes a new instance of the PaperSource class.

getKind()

public int getKind()

Gets the paper source.

Returns: int - int value

getRawKind()

public int getRawKind()

Gets or sets the integer representing one of the PaperSourceKind values or a custom value.

Returns: int - int value

getSourceName()

public String getSourceName()

Gets or sets the name of the paper source.

Returns: java.lang.String - String value

setRawKind(int value)

public void setRawKind(int value)

Gets or sets the integer representing one of the PaperSourceKind values or a custom value.

Parameters:

ParameterTypeDescription
valueintint value

setSourceName(String value)

public void setSourceName(String value)

Gets or sets the name of the paper source.

Parameters:

ParameterTypeDescription
valuejava.lang.StringString value

toString()

public String toString()

Infrastructure. Provides information about the PrintPaperSource in string form.

Returns: java.lang.String - String value