![]() |
||
Home Products Purchase Downloads Demos Forums Blogs Ticket Wiki API Corporate |
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.cells.ImageOptions
public class ImageOptions
Represents settings for generating Image.
Constructor Summary | |
---|---|
ImageOptions()
|
Method Summary | |
---|---|
int |
getFashion()
Gets the generated image fashion. |
int |
getHorizontalResolution()
Gets the horizontal resolution for generated images, in dots per inch. |
int |
getImageFormat()
Gets the format for generated Image. |
int |
getPrintingPageType()
Get the type that indicates which pages will not be printed. |
int |
getQuality()
Gets a value determining the quality of the generated images. |
int |
getVerticalResolution()
Gets the vertical resolution for generated images, in dots per inch. |
boolean |
isNeedBitonal()
Determine whether generate monochrome image. |
boolean |
isPaginate()
Determine whether paginate sheet. |
void |
setFashion(int formatType)
Sets the generated image fashion. |
void |
setHorizontalResolution(int horizontalResolution)
Sets the horizontal resolution for generated images, in dots per inch. |
void |
setImageFormat(int imageFormat)
Sets the format for generated Image. |
void |
setNeedBitonal(boolean needBitonal)
Set whether generate monochrome image. |
void |
setPaginate(boolean isPaginate)
Set whether paginate sheet. |
void |
setPrintingPageType(int printingPageType)
Set the type that indicates which pages will not be printed. |
void |
setQuality(int quality)
Sets a value determining the quality of the generated images to apply only when saving pages to the JPEG format The value must be between 0 and 100 |
void |
setVerticalResolution(int verticalResolution)
Sets the vertical resolution for generated images, in dots per inch. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ImageOptions()
Method Detail |
---|
public boolean isNeedBitonal()
public void setNeedBitonal(boolean needBitonal)
needBitonal
- whether generate monochrome image.public int getHorizontalResolution()
public void setHorizontalResolution(int horizontalResolution)
horizontalResolution
- the horizontal resolution.public int getVerticalResolution()
public void setVerticalResolution(int verticalResolution)
verticalResolution
- the vertical resolution.public int getPrintingPageType()
PrintingPageType.DEFAULT
.
PrintingPageType
public void setPrintingPageType(int printingPageType)
printingPageType
- type valuePrintingPageType
public int getQuality()
public void setQuality(int quality)
quality
- valuepublic boolean isPaginate()
public void setPaginate(boolean isPaginate)
isPaginate
- paginate status.public int getImageFormat()
setImageFormat(int)
public void setImageFormat(int imageFormat)
imageFormat
- the format for generated Image.ImageFormat
public int getFashion()
setFashion(int)
public void setFashion(int formatType)
FileFormatType.UNKNOWN
(it is also the default fashion),
the actual fashion used to generate Image depends on the file format of corresponding Workbook.
If file format of corresponding Workbook is UNKNOWN or EXCEL97TO2003, then uses fashion of EXCEL2003.
Otherwise will use fashion of EXCEL2007.
formatType
- the file format. The generated image should look like the chart in this file format.FileFormatType
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |