Package | Description |
---|---|
javafx.print |
Provides the public classes for the JavaFX Printing API.
|
Modifier and Type | Method and Description |
---|---|
PageOrientation |
PrinterAttributes.getDefaultPageOrientation()
Return the default orientation for paper on this printer.
|
PageOrientation |
PageLayout.getPageOrientation() |
static PageOrientation |
PageOrientation.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PageOrientation[] |
PageOrientation.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
Set<PageOrientation> |
PrinterAttributes.getSupportedPageOrientations()
Returns an unmodifiable set of the supported orientations
for this printer.
|
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.
|
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.