com.stimulsoft.report.print
Class StiPagePrintable
java.lang.Object
com.stimulsoft.report.print.StiPagePrintable
- All Implemented Interfaces:
- java.awt.print.Printable
public class StiPagePrintable
- extends java.lang.Object
- implements java.awt.print.Printable
Printable object that print page to printer
Copyright Stimulsoft
Fields inherited from interface java.awt.print.Printable |
NO_SUCH_PAGE, PAGE_EXISTS |
Method Summary |
int |
print(java.awt.Graphics graphics,
java.awt.print.PageFormat pageFormat,
int pageIndex)
Print component on the printer |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SCALE_RATIO
public static final double SCALE_RATIO
- See Also:
- Constant Field Values
StiPagePrintable
public StiPagePrintable(StiPage page)
- Constructor
StiPage
- Parameters:
page
-
StiPagePrintable
public StiPagePrintable(StiPage page,
int segmentX,
int segmentY)
- Constructor
- Parameters:
page
- StiPage
segmentX
- x-axis segment of segmented pagesegmentY
- y-axis segment of segmented page
print
public int print(java.awt.Graphics graphics,
java.awt.print.PageFormat pageFormat,
int pageIndex)
throws java.awt.print.PrinterException
- Print component on the printer
- Specified by:
print
in interface java.awt.print.Printable
- Throws:
java.awt.print.PrinterException