PrintPaperSource
Contents
[
Hide
]Inheritance: java.lang.Object
public class PrintPaperSource
Specifies the paper tray from which the printer gets paper.
Constructors
Constructor | Description |
---|---|
PrintPaperSource() | Initializes a new instance of the PaperSource class. |
Methods
Method | Description |
---|---|
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:
Parameter | Type | Description |
---|---|---|
value | int | int value |
setSourceName(String value)
public void setSourceName(String value)
Gets or sets the name of the paper source.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String | String value |
toString()
public String toString()
Infrastructure. Provides information about the PrintPaperSource in string form.
Returns: java.lang.String - String value