public class PrintOptions extends Object
Options used to print a document.
Constructor and Description |
---|
PrintOptions()
Initializes a new instance of the
PrintOptions class. |
Modifier and Type | Method and Description |
---|---|
String |
getDocumentName()
Gets or sets the document name to display (for example, in a print status dialog box or printer queue) while printing the document.
|
PageSplittingAlgorithm |
getPageSplittingAlgorithm()
Gets or sets algorithm used for page splitting.
|
AttributeSet |
getPrinterSettings()
Gets or sets the printer settings.
|
float |
getResolution()
Gets or sets the resolution for the generated images, in dots per inch.
|
void |
setDocumentName(String value)
Gets or sets the document name to display (for example, in a print status dialog box or printer queue) while printing the document.
|
void |
setPageSplittingAlgorithm(PageSplittingAlgorithm value)
Gets or sets algorithm used for page splitting.
|
void |
setPrinterSettings(AttributeSet value)
Gets or sets the printer settings.
|
void |
setResolution(float value)
Gets or sets the resolution for the generated images, in dots per inch.
|
public PrintOptions()
Initializes a new instance of the PrintOptions
class.
public AttributeSet getPrinterSettings()
Gets or sets the printer settings.
public void setPrinterSettings(AttributeSet value)
Gets or sets the printer settings.
public String getDocumentName()
Gets or sets the document name to display (for example, in a print status dialog box or printer queue) while printing the document.
public void setDocumentName(String value)
Gets or sets the document name to display (for example, in a print status dialog box or printer queue) while printing the document.
public float getResolution()
Gets or sets the resolution for the generated images, in dots per inch.
public void setResolution(float value)
Gets or sets the resolution for the generated images, in dots per inch.
public PageSplittingAlgorithm getPageSplittingAlgorithm()
Gets or sets algorithm used for page splitting.
Value: ThePageSplittingAlgorithm
.public void setPageSplittingAlgorithm(PageSplittingAlgorithm value)
Gets or sets algorithm used for page splitting.
Value: ThePageSplittingAlgorithm
.