public final class DwfImage extends Image
Dwf image class
Modifier and Type | Method and Description |
---|---|
void |
addElement(int pageNumber,
DwfWhipDrawable element)
Adds renderable element to specified page
|
void |
cacheData()
Caches data
|
int |
getElementCount(int pageNumber)
Gets count of renderable 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
|
int |
getWidth()
Gets the image width.
|
boolean |
isCached()
Gets is image cached
|
void |
removeElement(int pageNumber,
int elementIndex)
Removes element from specified page
|
canLoad, canLoad, canLoad, canLoad, canSave, getAttributes, getAttributeValue, getBackgroundColor, getBounds, getContainer, getFileFormat, getFileFormat, getPalette, getSize, getUnitType, hasBackgroundColor, load, load, load, load, save, save, save, setBackgroundColor, setBackgroundColor, setPalette
public final com.aspose.ms.System.Collections.ObjectModel.ReadOnlyCollection<DwfPage> getPages()
Gets pages
public DwfLayersList getLayers()
Gets layers
public boolean isCached()
Gets is image cached
isCached
in class com.aspose.cad.DataStreamSupporter
public int getWidth()
Gets the image width.
getWidth
in interface IObjectWithBounds
getWidth
in class Image
public int getHeight()
Gets the image height.
getHeight
in interface IObjectWithBounds
getHeight
in class Image
public final void addElement(int pageNumber, DwfWhipDrawable element)
Adds renderable 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 renderable elements from specified page
pageNumber
- Index of page to get count of elemetns frompublic void cacheData()
Caches data
cacheData
in class com.aspose.cad.DataStreamSupporter