NO_SUCH_PAGE, PAGE_EXISTS
Constructor and Description |
---|
IlvScaledPrintablePage(double xScale,
double yScale)
Creates a
IlvScaledPrintablePage . |
Modifier and Type | Method and Description |
---|---|
double |
getXScale()
Gets the x scale applied to the
Graphics object before printing. |
double |
getYScale()
Gets the y scale applied to the
Graphics object before printing. |
protected void |
printObjects(Graphics graphics,
PageFormat format,
int pageIndex)
Prints the objects that have been added to this page.
|
addPrintableObject, getDocument, getPageFormat, getPageIndex, getPrintableCount, getPrintableObject, print, printTemplate, removePrintableObject, setDocument
public IlvScaledPrintablePage(double xScale, double yScale)
IlvScaledPrintablePage
. The specified xScale
and
yScale
will be applied to the Graphics
object before
printing.xScale
- The x scale.yScale
- The y scale.public double getXScale()
Graphics
object before printing.public double getYScale()
Graphics
object before printing.protected void printObjects(Graphics graphics, PageFormat format, int pageIndex) throws PrinterException
printObjects
in class IlvPage
graphics
- The output device, which must be a Graphics2D
object.format
- The format of the page.pageIndex
- The index of the page.PrinterException
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.