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.
|
Copyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.