public class ImageSaveOptions extends SaveOptions
Modifier and Type | Field and Description |
---|---|
static FileType |
BMP
The constant BMP.
|
static FileType |
GIF
The constant GIF.
|
static FileType |
JPEG
The constant JPEG.
|
static FileType |
JPG
The constant JPG.
|
static FileType |
PNG
The constant PNG.
|
static FileType |
TIF
The constant TIF.
|
static FileType |
TIFF
The constant TIFF.
|
static int |
TIFF_COMPRESSION_CCITT3
The constant TIFF_COMPRESSION_CCITT3.
|
static int |
TIFF_COMPRESSION_CCITT4
The constant TIFF_COMPRESSION_CCITT4.
|
static int |
TIFF_COMPRESSION_LZW
The constant TIFF_COMPRESSION_LZW.
|
static int |
TIFF_COMPRESSION_NONE
The constant TIFF_COMPRESSION_NONE.
|
Constructor and Description |
---|
ImageSaveOptions()
Instantiates a new Image save options.
|
Modifier and Type | Method and Description |
---|---|
int |
getHeight()
Get custom height if was set before
|
int |
getMultipageTiffCompression()
Gets multipage tiff compression.
|
int |
getResolution()
Gets image resolution.
|
int |
getWidth()
Get custom width if was set before
|
boolean |
isUseMultipagesTiff()
Is use multipages tiff boolean.
|
void |
setHeight(int height)
Optional
Set custom height By default will be converted using image ratio |
void |
setMultipageTiffCompression(int multipageTiffCompression)
Sets multipage tiff compression.
|
void |
setResolution(int resolution)
Sets image resolution.
|
void |
setUseMultipagesTiff(boolean useMultipagesTiff)
Sets use multipages tiff.
|
void |
setWidth(int width)
Optional
Set custom width By default will be converted using image ratio |
getPage, getSaveFileType, getSaveName, getSavePath, getWorksheetIndex, isAsListItems, isSplitWorksheetIntoPages, setAsListItems, setPage, setSaveFileType, setSaveName, setSavePath, setSplitWorksheetIntoPages, setWorksheetIndex
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
public static final int TIFF_COMPRESSION_LZW
public static final int TIFF_COMPRESSION_CCITT4
public static final int TIFF_COMPRESSION_CCITT3
public static final int TIFF_COMPRESSION_NONE
public ImageSaveOptions()
public int getWidth()
public void setWidth(int width)
width
- widthpublic int getHeight()
public void setHeight(int height)
height
- height or nullpublic boolean isUseMultipagesTiff()
public void setUseMultipagesTiff(boolean useMultipagesTiff)
useMultipagesTiff
- the use multipages tiffpublic int getResolution()
public void setResolution(int resolution)
resolution
- the resolutionpublic int getMultipageTiffCompression()
public void setMultipageTiffCompression(int multipageTiffCompression)
multipageTiffCompression
- the multipage tiff compressionCopyright © 2015 GroupDocs. All rights reserved.