public final class DwfImage extends Image
DWF image class
| Modifier and Type | Method and Description |
|---|---|
void |
addElement(int pageNumber,
DwfWhipDrawable element)
Adds render able element to specified page
|
void |
cacheData()
Caches data
|
int |
getElementCount(int pageNumber)
Gets count of render able elements from specified page
|
int |
getHeight()
Gets the image height.
|
DwfLayersList |
getLayers()
Gets layers
|
com.aspose.ms.System.Collections.ObjectModel.ReadOnlyCollection<DwfPage> |
getPages()
Gets pages
|
String[] |
getStrings()
Gets all string values from image.
|
int |
getWidth()
Gets the image width.
|
boolean |
isCached()
Gets is image cached
|
void |
removeElement(int pageNumber,
int elementIndex)
Removes element from specified page
|
void |
updateSize()
Updates the size.
|
canLoad, canLoad, canLoad, canLoad, canSave, getBackgroundColor, getBounds, getContainer, getFileFormat, getFileFormat, getPalette, getSize, getUnitlessDefaultUnitType, getUnitType, hasBackgroundColor, load, load, load, load, save, save, save, setBackgroundColor, setBackgroundColor, setPalettepublic final com.aspose.ms.System.Collections.ObjectModel.ReadOnlyCollection<DwfPage> getPages()
Gets pages
public final DwfLayersList getLayers()
Gets layers
public boolean isCached()
Gets is image cached
isCached in class com.aspose.cad.DataStreamSupporterpublic int getWidth()
Gets the image width.
getWidth in interface IObjectWithBoundsgetWidth in class Imagepublic int getHeight()
Gets the image height.
getHeight in interface IObjectWithBoundsgetHeight in class Imagepublic final void addElement(int pageNumber,
DwfWhipDrawable element)
Adds render able element to specified page
pageNumber - Index of the page to add element toelement - Element to be addedpublic final void removeElement(int pageNumber,
int elementIndex)
Removes element from specified page
pageNumber - Index of page to remove element fromelementIndex - Index of element to be removedpublic final int getElementCount(int pageNumber)
Gets count of render able elements from specified page
pageNumber - Index of page to get count of elements frompublic void cacheData()
Caches data
cacheData in class com.aspose.cad.DataStreamSupporterpublic final void updateSize()
Updates the size.
public String[] getStrings()
Gets all string values from image.
getStrings in class Image