Package | Description |
---|---|
javafx.print |
Provides the public classes for the JavaFX Printing API.
|
Modifier and Type | Method and Description |
---|---|
PageLayout |
Printer.createPageLayout(Paper paper,
PageOrientation orient,
double lMargin,
double rMargin,
double tMargin,
double bMargin)
Obtain a new PageLayout for this printer using the specified
parameters.
|
PageLayout |
Printer.createPageLayout(Paper paper,
PageOrientation orient,
Printer.MarginType mType)
Obtain a new PageLayout instance for this printer using the specified
parameters.
|
PageLayout |
Printer.getDefaultPageLayout()
Return the default page layout for this printer.
|
PageLayout |
JobSettings.getPageLayout()
Get the current page layout for this job.
|
Modifier and Type | Method and Description |
---|---|
ObjectProperty<PageLayout> |
JobSettings.pageLayoutProperty()
Property representing an instance of
PageLayout . |
Modifier and Type | Method and Description |
---|---|
boolean |
PrinterJob.printPage(PageLayout pageLayout,
Node node)
Print the specified node using the specified page layout.
|
void |
JobSettings.setPageLayout(PageLayout pageLayout)
Set the PageLayout to use.
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2008, 2019, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.