public class OtgImage extends OdImage
The Otg image
| Constructor and Description |
|---|
OtgImage(StreamContainer streamContainer)
Initializes a new instance of the
OtgImage class. |
OtgImage(StreamContainer streamContainer,
LoadOptions loadOptions)
Initializes a new instance of the
OtgImage class. |
| Modifier and Type | Method and Description |
|---|---|
ImageOptionsBase |
getDefaultOptions(Object[] args)
Gets the default options.
|
long |
getFileFormat()
Gets a value of file format
|
PageExportingAction |
getPageExportingAction()
Gets the page exporting action.
|
Image[] |
getPages()
Gets the pages.
|
void |
setPageExportingAction(PageExportingAction value)
Sets the page exporting action.
|
getBitsPerPixel, getDefaultPage, getHeight, getMetadata, getPageCount, getRecords, getWidth, isCached, resize, resize, rotateFlipcacheData, getEmbeddedImages, setPalettegetHeightF, getSizeF, getWidthFcanLoad, canLoad, canLoad, canLoad, canSave, create, create, create, getBackgroundColor, getBounds, getBufferSizeHint, getContainer, getFileFormat, getFileFormat, getFittingRectangle, getFittingRectangle, getInterruptMonitor, getOriginalOptions, getPalette, getProgressEventHandler, getProgressEventHandlerInfo, getProportionalHeight, getProportionalWidth, getSize, hasBackgroundColor, isAutoAdjustPalette, isUsePalette, load, load, load, load, load, load, resize, resizeHeightProportionally, resizeHeightProportionally, resizeHeightProportionally, resizeWidthProportionally, resizeWidthProportionally, resizeWidthProportionally, save, save, save, save, save, save, save, save, setAutoAdjustPalette, setBackgroundColor, setBackgroundColor, setBufferSizeHint, setInterruptMonitor, setPalettegetDataStreamContainer, save, save, saveclose, dispose, getDisposedpublic OtgImage(StreamContainer streamContainer, LoadOptions loadOptions)
Initializes a new instance of the OtgImage class.
streamContainer - The stream.loadOptions - The load options.public OtgImage(StreamContainer streamContainer)
Initializes a new instance of the OtgImage class.
streamContainer - The stream container.public long getFileFormat()
Gets a value of file format
getFileFormat in class ImageFileFormatpublic PageExportingAction getPageExportingAction()
Gets the page exporting action. Please note that setting this method will automatically release page resources after it is executed. It will be executed just before each page is saved.
Value: The page exporting action.getPageExportingAction in interface IMultipageImagegetPageExportingAction in class VectorMultipageImagepublic void setPageExportingAction(PageExportingAction value)
Sets the page exporting action. Please note that setting this method will automatically release page resources after it is executed. It will be executed just before each page is saved.
Value: The page exporting action.setPageExportingAction in interface IMultipageImagesetPageExportingAction in class VectorMultipageImagevalue - the page exporting action.public Image[] getPages()
Gets the pages.
Value: The pages.public ImageOptionsBase getDefaultOptions(Object[] args)
Gets the default options.
getDefaultOptions in class Imageargs - The arguments.Copyright (c) 2008-2022 Aspose Pty Ltd. All Rights Reserved.