Packages

 

com.aspose.cad.fileformats.dwf

Class DwfImage

    • Method Detail

      • getPages

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

        Gets pages

      • isCached

        public boolean isCached()

        Gets is image cached

        Specified by:
        isCached in class com.aspose.cad.DataStreamSupporter
      • addElement

        public final void addElement(int pageNumber,
                                     DwfWhipDrawable element)

        Adds render able element to specified page

        Parameters:
        pageNumber - Index of the page to add element to
        element - Element to be added
      • removeElement

        public final void removeElement(int pageNumber,
                                        int elementIndex)

        Removes element from specified page

        Parameters:
        pageNumber - Index of page to remove element from
        elementIndex - Index of element to be removed
      • getElementCount

        public final int getElementCount(int pageNumber)

        Gets count of render able elements from specified page

        Parameters:
        pageNumber - Index of page to get count of elements from
        Returns:
        Count of render able elements in specified page
      • cacheData

        public void cacheData()

        Caches data

        Specified by:
        cacheData in class com.aspose.cad.DataStreamSupporter
      • updateSize

        public final void updateSize()

        Updates the size.

      • getStrings

        public String[] getStrings()

        Gets all string values from image.

        Overrides:
        getStrings in class Image
        Returns:
        The array with string values.