aspose.cells

Class ImageFormat

Specifies the file format of the image.

Method Summary
functionequals(obj)
Returns a value that indicates whether the specified object is an ImageFormat object that is equivalent to this ImageFormat object.
static functiongetBmp()
Gets the bitmap (BMP) image format.
static functiongetEmf()
Gets the enhanced metafile (EMF) image format.
static functiongetExif()
Gets the Exchangeable Image File (Exif) format.
static functiongetGif()
Gets the Graphics Interchange Format (GIF) image format.
static functiongetIcon()
Gets the Windows icon image format.
static functiongetImageFormatFromSuffixName(name)
Get the image format according to suffix name
static functiongetJpeg()
Gets the Joint Photographic Experts Group (JPEG) image format.
static functiongetMemoryBmp()
Gets a memory bitmap image format.
functiongetName()
Get the string name of this ImageFormat instance
static functiongetPng()
Gets the W3C Portable Network Graphics (PNG) image format.
static functiongetTiff()
Gets the Tagged Image File Format (TIFF) image format.
static functiongetWmf()
Gets the Windows metafile (WMF) image format.
 

    • Method Detail

      • getBmp

        static function getBmp()
        Gets the bitmap (BMP) image format.
        Returns:
        An ImageFormat object that indicates the bitmap image format.
      • getEmf

        static function getEmf()
        Gets the enhanced metafile (EMF) image format.
        Returns:
        An ImageFormat object that indicates the enhanced metafile image format.
      • getExif

        static function getExif()
        Gets the Exchangeable Image File (Exif) format.
        Returns:
        An ImageFormat object that indicates the Exif format.
      • getGif

        static function getGif()
        Gets the Graphics Interchange Format (GIF) image format.
        Returns:
        An ImageFormat object that indicates the GIF image format.
      • getIcon

        static function getIcon()
        Gets the Windows icon image format.
        Returns:
        An ImageFormat object that indicates the Windows icon image format.
      • getJpeg

        static function getJpeg()
        Gets the Joint Photographic Experts Group (JPEG) image format.
        Returns:
        An ImageFormat object that indicates the JPEG image format.
      • getMemoryBmp

        static function getMemoryBmp()
        Gets a memory bitmap image format.
        Returns:
        An ImageFormat object that indicates the memory bitmap image format.
      • getPng

        static function getPng()
        Gets the W3C Portable Network Graphics (PNG) image format.
        Returns:
        An ImageFormat object that indicates the PNG image format.
      • getTiff

        static function getTiff()
        Gets the Tagged Image File Format (TIFF) image format.
        Returns:
        An ImageFormat object that indicates the TIFF image format.
      • getWmf

        static function getWmf()
        Gets the Windows metafile (WMF) image format.
        Returns:
        An ImageFormat object that indicates the Windows metafile image format.
      • equals

        function equals(obj)
        Returns a value that indicates whether the specified object is an ImageFormat object that is equivalent to this ImageFormat object.
        Parameters:
        obj: Object - The object to test.
        Returns:
        true if o is an ImageFormat object that is equivalent to this ImageFormat object; otherwise, false.
      • getName

        function getName()
        Get the string name of this ImageFormat instance
        Returns:
        The string name of this ImageFormat instance
      • getImageFormatFromSuffixName

        static function getImageFormatFromSuffixName(name)
        Get the image format according to suffix name
        Parameters:
        name: String - suffix name
        Returns:
        >An ImageFormat object according to the suffix name.