com.aspose.barcode

Class ResolutionMode



  • public final class ResolutionMode
    extends Object

    Specifies the resolution mode used to create barcode image.

    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static int Customized
      Apply the resolution of the barcode image according to the user defined DpiX and DpiY properties.
      static int Graphics
      Apply the resolution of the barcode image according to the resolution of the specified Graphics object.
      static int Printer
      Apply the resolution of the barcode image according to the resolution of the specified printer.
    • Field Detail

      • Graphics

        public static final int Graphics

        Apply the resolution of the barcode image according to the resolution of the specified Graphics object.

        See Also:
        Constant Field Values
      • Customized

        public static final int Customized

        Apply the resolution of the barcode image according to the user defined DpiX and DpiY properties.

        See Also:
        Constant Field Values
      • Printer

        public static final int Printer

        Apply the resolution of the barcode image according to the resolution of the specified printer.

        See Also:
        Constant Field Values
    • Method Detail

      • getResolutionModeName

        public static String getResolutionModeName(int resolutionMode)
        Gets ResolutionMode value name
        Parameters:
        resolutionMode - ResolutionMode value
        Returns:
        ResolutionMode value name
      • getResolutionModeValue

        public static int getResolutionModeValue(String resolutionMode)
        Gets ResolutionMode value
        Parameters:
        resolutionMode - ResolutionMode value name
        Returns:
        ResolutionMode value