public final class ImageSaveOptions extends SaveOptions
Options for to Image conversion
| Modifier and Type | Class and Description |
|---|---|
static class |
ImageSaveOptions.ImageFileType
Image file types
|
| Constructor and Description |
|---|
ImageSaveOptions()
Create ImageSaveOptions instance
|
| Modifier and Type | Method and Description |
|---|---|
com.groupdocs.foundation.domain.FileType |
getConvertFileType_ImageSaveOptions_New()
The desired file type to which the input document should be converted to
|
int |
getDpi()
Desired image DPI after conversion.
|
int |
getHeight()
Desired image height after conversion
|
int |
getJpegQuality()
Desired image quality when converting to Jpeg.
|
PsdOptions |
getPsdOptions()
Psd specific convert options
|
TiffOptions |
getTiffOptions()
Tiff specific convert options
|
boolean |
getUsePdf_ImageSaveOptions_New()
If
true, the input firstly is converted to PDF and after that to
desired format |
boolean |
getUseWidthForCustomName()
If
true the width of the page will be added to the CustomName
when generating the caching file name. |
int |
getWidth()
Desired image width after conversion
|
void |
setConvertFileType_ImageSaveOptions_New(com.groupdocs.foundation.domain.FileType value)
The desired file type to which the input document should be converted to
|
void |
setDpi(int value)
Desired image DPI after conversion.
|
void |
setHeight(int value)
Desired image height after conversion
|
void |
setJpegQuality(int value)
Desired image quality when converting to Jpeg.
|
void |
setPsdOptions(PsdOptions value)
Psd specific convert options
|
void |
setTiffOptions(TiffOptions value)
Tiff specific convert options
|
void |
setUsePdf_ImageSaveOptions_New(boolean value)
If
true, the input firstly is converted to PDF and after that to
desired format |
void |
setUseWidthForCustomName(boolean value)
If
true the width of the page will be added to the CustomName
when generating the caching file name. |
void |
setWidth(int value)
Desired image width after conversion
|
deepClone, getConvertFileType, getCustomName, getHideWordTrackedChanges, getNumPagesToConvert, getOutputType, getPageMode, getPageNumber, getSaveOptionsType, getShowGridLines, getShowHiddenSheets, getUsePdf, getWatermarkOptions, memberwiseClone, setConvertFileType, setCustomName, setHideWordTrackedChanges, setNumPagesToConvert, setOutputType, setPageMode, setPageNumber, setShowGridLines, setShowHiddenSheets, setUsePdf, setWatermarkOptionspublic boolean getUseWidthForCustomName()
If true the width of the page will be added to the CustomName
when generating the caching file name.
public void setUseWidthForCustomName(boolean value)
If true the width of the page will be added to the CustomName
when generating the caching file name.
value - public int getWidth()
Desired image width after conversion
public void setWidth(int value)
Desired image width after conversion
value - public int getHeight()
Desired image height after conversion
public void setHeight(int value)
Desired image height after conversion
value - public boolean getUsePdf_ImageSaveOptions_New()
If true, the input firstly is converted to PDF and after that to
desired format
public void setUsePdf_ImageSaveOptions_New(boolean value)
If true, the input firstly is converted to PDF and after that to
desired format
value - public com.groupdocs.foundation.domain.FileType getConvertFileType_ImageSaveOptions_New()
The desired file type to which the input document should be converted to
public void setConvertFileType_ImageSaveOptions_New(com.groupdocs.foundation.domain.FileType value)
The desired file type to which the input document should be converted to
value - public int getDpi()
Desired image DPI after conversion. The default resolution is: 96dpi
public void setDpi(int value)
Desired image DPI after conversion. The default resolution is: 96dpi
value - public int getJpegQuality()
Desired image quality when converting to Jpeg. The value must be between 0 and 100. The default value is 100.
public void setJpegQuality(int value)
Desired image quality when converting to Jpeg. The value must be between 0 and 100. The default value is 100.
value - public TiffOptions getTiffOptions()
Tiff specific convert options
public void setTiffOptions(TiffOptions value)
Tiff specific convert options
value - public PsdOptions getPsdOptions()
Psd specific convert options
public void setPsdOptions(PsdOptions value)
Psd specific convert options
value - Copyright © 2017. All rights reserved.