|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.arctorus.documents.PageSize
public final class PageSize
Defines page size in a document.
Method Summary | |
---|---|
short |
getResolution()
Gets the page resolution in pixels per inch. |
java.awt.Dimension |
getSizeInch()
Gets the page size of a document in inches. |
java.awt.Dimension |
getSizeMm()
Gets the page size of a document in millimeters. |
java.awt.Dimension |
getSizePt()
Gets the page size of a document in points. |
java.awt.Dimension |
getSizePx()
Gets the page size of a document in pixels. |
PageSizeType |
getSizeType()
Gets standard type of a page. |
void |
setResolution(short resolution)
Sets the page resolution in pixels per inch. |
void |
setSizeInch(java.awt.Dimension sizeInch)
Sets the page size of a document in inches. |
void |
setSizeInch(double widthInch,
double heightInch)
Sets the page size of a document in inches. |
void |
setSizeMm(java.awt.Dimension sizeMm)
Sets the page size of a document in millimeters. |
void |
setSizeMm(double widthMm,
double heightMm)
Sets the page size of a document in millimeters. |
void |
setSizePt(java.awt.Dimension sizePt)
Sets the page size of a document in points. |
void |
setSizePt(double widthPt,
double heightPt)
Sets the page size of a document in points. |
void |
setSizePx(java.awt.Dimension sizePx)
Sets the page size of a document in pixels. |
void |
setSizePx(double widthPx,
double heightPx)
Sets the page size of a document in pixels. |
void |
setSizeType(PageSizeType sizeType)
Sets standard type of a page. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public PageSizeType getSizeType()
public void setSizeType(PageSizeType sizeType)
sizeType
- standard page type.public short getResolution()
public void setResolution(short resolution)
resolution
- page resolution.public java.awt.Dimension getSizePx()
public void setSizePx(java.awt.Dimension sizePx)
sizePx
- page size of a document in pixels.public void setSizePx(double widthPx, double heightPx)
widthPx
- width of a document page in pixels.heightPx
- height of a document page in pixels.public java.awt.Dimension getSizeMm()
public void setSizeMm(java.awt.Dimension sizeMm)
sizeMm
- page size of a document in millimeters.public void setSizeMm(double widthMm, double heightMm)
widthMm
- width of a document page in millimeters.heightMm
- height of a document page in millimeters.public java.awt.Dimension getSizeInch()
public void setSizeInch(java.awt.Dimension sizeInch)
sizeInch
- page size of a document in inches.public void setSizeInch(double widthInch, double heightInch)
widthInch
- width of a document page in inches.heightInch
- height of a document page in inches.public java.awt.Dimension getSizePt()
public void setSizePt(java.awt.Dimension sizePt)
sizePt
- page size of a document in points.public void setSizePt(double widthPt, double heightPt)
widthPt
- width of a document page in points.heightPt
- height of a document page in points.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |