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, setDocumentpublic 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 IlvPagegraphics - The output device, which must be a Graphics2D object.format - The format of the page.pageIndex - The index of the page.PrinterException© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.