|
EasyPDF Java SDK v5.1 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.bcl.easypdf.EasyPDFPrinter.IPDFSetting
com.bcl.easypdf.EasyPDFPrinter.IPrinterSetting
public class IPrinterSetting
Use an object of this class to change printer setting.
| Method Summary | |
|---|---|
void |
CreatePaper(java.lang.String PaperName,
double Width,
double Height)
Creates a paper of a speficied size. |
void |
DeletePaper(java.lang.String PaperName)
Deletes a custom paper. |
int |
getLayoutGraphicResolution()
Returns graphic resolution in DPI. |
int |
getLayoutGraphicScaling()
Returns printer graphic scaling. |
int |
getLayoutPaperOrientation()
Returns printer paper orientation. |
int |
getLayoutPaperSize()
Returns the printer paper size. |
int |
getLayoutPrintColorType()
|
int |
GetPaperSize(java.lang.String PaperName)
Return the size of a given paper name. |
boolean |
IsPaperAvailable(java.lang.String PaperName)
Checks if the paper of the given name is available. |
void |
setLayoutGraphicResolution(int newVal)
|
void |
setLayoutGraphicScaling(int newVal)
|
void |
setLayoutPaperOrientation(int EprnPaperOrientation)
|
void |
setLayoutPaperSize(int newVal)
Sets printer pager size. |
void |
setLayoutPrintColorType(int EprnPrintColorType)
Sets the printer print color type. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public int getLayoutPaperSize()
throws EasyPDFException
EasyPDFException
public void setLayoutPaperSize(int newVal)
throws EasyPDFException
newVal - a value defined in prnPaperSize
EasyPDFExceptionprnPaperSize
public int getLayoutPaperOrientation()
throws EasyPDFException
EasyPDFExceptionprnPaperOrientation
public void setLayoutPaperOrientation(int EprnPaperOrientation)
throws EasyPDFException
EprnPaperOrientation - a value defined in prnPaperOrientation
EasyPDFExceptionprnPaperOrientation
public int getLayoutGraphicResolution()
throws EasyPDFException
EasyPDFException
public void setLayoutGraphicResolution(int newVal)
throws EasyPDFException
newVal - graphic resolution in DPI (in the range from 72 to 2400)
EasyPDFException
public int getLayoutGraphicScaling()
throws EasyPDFException
EasyPDFException
public void setLayoutGraphicScaling(int newVal)
throws EasyPDFException
newVal - printer graphic scaling (from 1 to 1000)
EasyPDFException
public void CreatePaper(java.lang.String PaperName,
double Width,
double Height)
throws EasyPDFException
PaperName - Name of the paper to be createdWidth - Width of paperHeight - Height of paper
EasyPDFException
public void DeletePaper(java.lang.String PaperName)
throws EasyPDFException
EasyPDFException
public int GetPaperSize(java.lang.String PaperName)
throws EasyPDFException
EasyPDFException
public boolean IsPaperAvailable(java.lang.String PaperName)
throws EasyPDFException
EasyPDFException
public int getLayoutPrintColorType()
throws EasyPDFException
EasyPDFExceptionprnPrintColorType
public void setLayoutPrintColorType(int EprnPrintColorType)
throws EasyPDFException
EprnPrintColorType - a value defined in prnPrintColorType
EasyPDFExceptionprnPrintColorType
|
EasyPDF Java SDK v5.1 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||