public interface PrintProvider
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getName() |
Indicates the name of the document being printed which
will be shown in the header/footer.
|
PrintPage[][] |
getPages(int width,
int height,
double zoom) |
Returns print pages being shown and printed.
|
java.util.Date |
lastModified() |
Indicates the time at which the user last made a modification to
the document, diagram, etc.
|
PrintPage[][] getPages(int width, int height, double zoom)
pages[1][2] will
be shown in second row and third column in the dialog.width - specifies the width of pages in pixels.height - specifies the height of pages in pixels.zoom - specifies the scale of pages.
The zoom can take positive double value:
0.2 means 20%,
1.0 - 100%,
3.1415 - 314.5% etc.java.lang.String getName()
java.util.Date lastModified()
Built on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.