|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.groupdocs.conversion.converter.options.ImageSaveOptions
public class ImageSaveOptions
Field Summary | |
---|---|
static FileType |
BMP
|
static FileType |
GIF
|
static FileType |
JPEG
|
static FileType |
JPG
|
static FileType |
PNG
|
static FileType |
TIF
|
static FileType |
TIFF
|
Constructor Summary | |
---|---|
ImageSaveOptions()
|
Method Summary | |
---|---|
Integer |
getHeight()
Get custom height if was set before |
Integer |
getPage()
|
FileType |
getSaveFileType()
Get output file type for document conversion if was set before. |
String |
getSaveName()
Get custom name if was set before Default value is null, original document name will be used in this case |
String |
getSavePath()
Get custom save directory path for document conversion if was set before. |
Integer |
getWidth()
Set custom width if was set before |
boolean |
isSaveToStream()
|
void |
setHeight(Integer height)
Optional Set custom height By default will be converted using image ratio |
void |
setPage(Integer page)
|
void |
setSaveFileType(FileType saveFileType)
Optional Set output file type for document conversion Note: each SaveOption instance contains static values of supported files |
void |
setSaveName(String saveName)
Optional Set custom name for output converted files |
void |
setSavePath(String savePath)
Optional Set custom save directory path for document conversion if was set before. |
void |
setSaveToStream(boolean saveToStream)
|
void |
setWidth(Integer width)
Optional Set custom width By default will be converted using image ratio |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final FileType BMP
public static final FileType GIF
public static final FileType JPEG
public static final FileType JPG
public static final FileType PNG
public static final FileType TIF
public static final FileType TIFF
Constructor Detail |
---|
public ImageSaveOptions()
Method Detail |
---|
public FileType getSaveFileType()
com.groupdocs.conversion.converter.options.etc.SaveOptions
getSaveFileType
in interface com.groupdocs.conversion.converter.options.etc.SaveOptions
public void setSaveFileType(FileType saveFileType)
com.groupdocs.conversion.converter.options.etc.SaveOptions
setSaveFileType
in interface com.groupdocs.conversion.converter.options.etc.SaveOptions
saveFileType
- file typepublic String getSavePath()
com.groupdocs.conversion.converter.options.etc.SaveOptions
getSavePath
in interface com.groupdocs.conversion.converter.options.etc.SaveOptions
public void setSavePath(String savePath)
com.groupdocs.conversion.converter.options.etc.SaveOptions
setSavePath
in interface com.groupdocs.conversion.converter.options.etc.SaveOptions
savePath
- custom pathpublic String getSaveName()
com.groupdocs.conversion.converter.options.etc.SaveOptions
getSaveName
in interface com.groupdocs.conversion.converter.options.etc.SaveOptions
public void setSaveName(String saveName)
com.groupdocs.conversion.converter.options.etc.SaveOptions
setSaveName
in interface com.groupdocs.conversion.converter.options.etc.SaveOptions
saveName
- custom namepublic Integer getPage()
getPage
in interface com.groupdocs.conversion.converter.options.etc.SaveOptions
public void setPage(Integer page)
setPage
in interface com.groupdocs.conversion.converter.options.etc.SaveOptions
public boolean isSaveToStream()
isSaveToStream
in interface com.groupdocs.conversion.converter.options.etc.SaveOptions
public void setSaveToStream(boolean saveToStream)
setSaveToStream
in interface com.groupdocs.conversion.converter.options.etc.SaveOptions
public Integer getWidth()
public void setWidth(Integer width)
width
- widthpublic Integer getHeight()
public void setHeight(Integer height)
height
- height or null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |