com.aspose.cad.jasperreports.common

Enum FileFormat

    • Enum Constant Detail

      • BMP

        public static final FileFormat BMP

        Bmp (Dib) file format.

      • GIF

        public static final FileFormat GIF

        Gif file format.

      • JPEG

        public static final FileFormat JPEG

        Jpeg file format.

      • PNG

        public static final FileFormat PNG

        Png file format.

      • TIFF

        public static final FileFormat TIFF

        Tiff file format.

      • PSD

        public static final FileFormat PSD

        Psd file format.

      • JPEG2000

        public static final FileFormat JPEG2000

        Jpeg2000 file format

      • PDF

        public static final FileFormat PDF

        The pdf file format

      • WEBP

        public static final FileFormat WEBP

        The webp file format

      • SVG

        public static final FileFormat SVG

        SVG file format

      • WMF

        public static final FileFormat WMF

        The Wmf file format

      • DXF

        public static final FileFormat DXF

        The Dxf file format

    • Method Detail

      • values

        public static FileFormat[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (FileFormat c : FileFormat.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static FileFormat valueOf(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getType

        public int getType()
        Gets the value that represents the type of the enum.
        Returns:
        the type
      • getByType

        public static FileFormat getByType(int value)
      • getExtension

        public String getExtension()
      • getExtension

        public static String getExtension(int value)