DwfImage

Inheritance: java.lang.Object, Image

DWF image class

Methods

MethodDescription
getPages()Gets pages
getLayers()Gets layers
isCached()Gets is image cached
getWidth()Gets the image width.
getHeight()Gets the image height.
addElement(int pageNumber, DwfWhipDrawable element)Adds render able element to specified page
removeElement(int pageNumber, int elementIndex)Removes element from specified page
getElementCount(int pageNumber)Gets count of render able elements from specified page
cacheData()Caches data
updateSize()Updates the size.
getStrings()Gets all string values from image.

getPages()

public final com.aspose.ms.System.Collections.ObjectModel.ReadOnlyCollection<DwfPage> getPages()

Gets pages

Returns: com.aspose.ms.System.Collections.ObjectModel.ReadOnlyCollection

getLayers()

public final DwfLayersList getLayers()

Gets layers

Returns: DwfLayersList

isCached()

public boolean isCached()

Gets is image cached

Returns: boolean

getWidth()

public int getWidth()

Gets the image width.

Returns: int - The image width.

getHeight()

public int getHeight()

Gets the image height.

Returns: int - The image height.

addElement(int pageNumber, DwfWhipDrawable element)

public final void addElement(int pageNumber, DwfWhipDrawable element)

Adds render able element to specified page

Parameters:

ParameterTypeDescription
pageNumberintIndex of the page to add element to
elementDwfWhipDrawableElement to be added

removeElement(int pageNumber, int elementIndex)

public final void removeElement(int pageNumber, int elementIndex)

Removes element from specified page

Parameters:

ParameterTypeDescription
pageNumberintIndex of page to remove element from
elementIndexintIndex of element to be removed

getElementCount(int pageNumber)

public final int getElementCount(int pageNumber)

Gets count of render able elements from specified page

Parameters:

ParameterTypeDescription
pageNumberintIndex of page to get count of elements from

Returns: int - Count of render able elements in specified page

cacheData()

public void cacheData()

Caches data

updateSize()

public final void updateSize()

Updates the size.

getStrings()

public String[] getStrings()

Gets all string values from image.

Returns: String[] - The array with string values.