Packages

 

com.aspose.cad.imageoptions

Class BmpOptions



  • public class BmpOptions
    extends ImageOptionsBase

    The bmp file format creation options.

    • Constructor Detail

      • BmpOptions

        public BmpOptions()

        Initializes a new instance of the BmpOptions class.

      • BmpOptions

        public BmpOptions(BmpOptions bmpOptions)

        Initializes a new instance of the BmpOptions class.

        Parameters:
        bmpOptions - The BMP options.
    • Method Detail

      • getBitsPerPixel

        public int getBitsPerPixel()

        Gets or sets the image bits per pixel count.

        Returns:
        The image bits per pixel count.
      • setBitsPerPixel

        public void setBitsPerPixel(int value)

        Gets or sets the image bits per pixel count.

        Parameters:
        value - The image bits per pixel count.
      • getCompression

        public long getCompression()

        Gets or sets the compression.

        Returns:
        The compression.
      • setCompression

        public void setCompression(long value)

        Gets or sets the compression.

        Parameters:
        value - The compression.
      • getHorizontalResolution

        @Deprecated
        public double getHorizontalResolution()
        Deprecated. 

        Gets or sets the horizontal resolution. Note due to the rounding the resulting resolution may slightly differ from the passed.

        Returns:
        The horizontal resolution.
      • setHorizontalResolution

        @Deprecated
        public void setHorizontalResolution(double value)
        Deprecated. 

        Gets or sets the horizontal resolution. Note due to the rounding the resulting resolution may slightly differ from the passed.

        Parameters:
        value - The horizontal resolution.
      • getVerticalResolution

        @Deprecated
        public double getVerticalResolution()
        Deprecated. 

        Gets or sets the vertical resolution. Note due to the rounding the resulting resolution may slightly differ from the passed.

        Returns:
        The vertical resolution.
      • setVerticalResolution

        @Deprecated
        public void setVerticalResolution(double value)
        Deprecated. 

        Gets or sets the vertical resolution. Note due to the rounding the resulting resolution may slightly differ from the passed.

        Parameters:
        value - The vertical resolution.