public class ImageSaveOptions extends SaveOptions
WorkbookRender or SheetRender.| Constructor and Description |
|---|
ImageSaveOptions()
Creates the options for saving image file.
|
ImageSaveOptions(int saveFormat)
Creates the options for saving image file.
|
| Modifier and Type | Method and Description |
|---|---|
ImageOrPrintOptions |
getImageOrPrintOptions()
Additional image creation options.
|
IStreamProvider |
getStreamProvider()
Gets the IStreamProvider for exporting objects.
|
void |
setStreamProvider(IStreamProvider value)
Sets the IStreamProvider for exporting objects.
|
getCachedFileFolder, getCheckExcelRestriction, getClearData, getCreateDirectory, getEncryptDocumentProperties, getMergeAreas, getRefreshChartCache, getSaveFormat, getSortExternalNames, getSortNames, getUpdateSmartArt, getValidateMergedAreas, getWarningCallback, setCachedFileFolder, setCheckExcelRestriction, setClearData, setCreateDirectory, setEncryptDocumentProperties, setMergeAreas, setRefreshChartCache, setSortExternalNames, setSortNames, setUpdateSmartArt, setValidateMergedAreas, setWarningCallbackpublic ImageSaveOptions()
Remarks
The default type is Tiff.public ImageSaveOptions(int saveFormat)
saveFormat - SaveFormat. The file format.
It should be one of following types: SaveFormat.TIFF, SaveFormat.SVG,
SaveFormat.BMP, SaveFormat.PNG, SaveFormat.JPG,
SaveFormat.EMF or SaveFormat.GIF,
otherwise the saved format will be set as SaveFormat.TIFF automatically.public ImageOrPrintOptions getImageOrPrintOptions()
Remarks
For advanced usage, please useWorkbookRender or SheetRender.public IStreamProvider getStreamProvider()
Remarks
If saving as Tiff, this property is ignored. Otherwise, if more than one image should be saving, we will write other images by this. For advanced usage, please useWorkbookRender or SheetRender.public void setStreamProvider(IStreamProvider value)
Remarks
If saving as Tiff, this property is ignored. Otherwise, if more than one image should be saving, we will write other images by this. For advanced usage, please useWorkbookRender or SheetRender.See Also:
Aspose.Cells Documentation - the home page for the Aspose.Cells Product Documentation.
Aspose.Cells Support Forum - our preferred method of support.
We guarantee a prompt response to any inquiry!
© Aspose Pty Ltd 2003-2025. All Rights Reserved.