PrintPageEventArgs
Contents
[
Hide
]Inheritance: java.lang.Object
public class PrintPageEventArgs
Provides data for the E:PrintDocument.PrintPage
event.
Constructors
Constructor | Description |
---|---|
PrintPageEventArgs() |
Methods
Method | Description |
---|---|
getGraphics() | Gets the Graphics (.getGraphics) used to paint the page. |
hasMorePages() | Gets a value indicating whether an additional page should be printed. |
setMorePages(boolean value) | Sets a value indicating whether an additional page should be printed. |
getPageSettings() | Gets the page settings for the current page. |
PrintPageEventArgs()
public PrintPageEventArgs()
getGraphics()
public final Graphics getGraphics()
Gets the Graphics
(.getGraphics) used to paint the page.
Returns:
Graphics - The Graphics
(.getGraphics) used to paint the page.
hasMorePages()
public final boolean hasMorePages()
Gets a value indicating whether an additional page should be printed.
Returns:
boolean - true
if an additional page should be printed; otherwise, false. The default is false
.
setMorePages(boolean value)
public final void setMorePages(boolean value)
Sets a value indicating whether an additional page should be printed.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean | a value indicating whether an additional page should be printed. |
getPageSettings()
public final PageSettings getPageSettings()
Gets the page settings for the current page.
Returns: PageSettings - The page settings for the current page.