BaseGenerationParameters

BaseGenerationParameters class

Barcode image generation parameters.

public class BaseGenerationParameters : joint.BaseJavaClass

Constructors

NameDescription
BaseGenerationParameters(object)Initializes a new instance of the BaseGenerationParameters class.

Methods

NameDescription
getAutoSizeModeSpecifies the different types of automatic sizing modes. Default value: AutoSizeMode.NONE.
getBackColorBackground color of the barcode image. Default value: #FFFFFF.
getBarcodeGets the BarcodeParameters that contains all barcode properties.
getBorderGets the BorderParameters that contains all configuration properties for barcode border.
getCaptionAboveCaption Above the BarCode image. See CaptionParameters.
getCaptionBelowCaption Below the BarCode image. See CaptionParameters.
getImageImage parameters. See ImageParameters.
getImageHeightBarCode image height when AutoSizeMode property is set to AutoSizeMode.NEAREST or AutoSizeMode.INTERPOLATION.
getImageWidthBarCode image width when AutoSizeMode property is set to AutoSizeMode.NEAREST or AutoSizeMode.INTERPOLATION.
getResolutionGets the resolution of the BarCode image. One value for both dimensions. Default value: 96 dpi.
getRotationAngleBarCode image rotation angle, measured in degree, e.g. RotationAngle = 0 or RotationAngle = 360 means no rotation. If RotationAngle NOT equal to 90, 180, 270 or 0, it may increase the difficulty for the scanner to read the image . Default value: 0.
getUseAntiAliasGets a value indicating whether is used anti-aliasing mode to render image.
init
setAutoSizeMode(object)Specifies the different types of automatic sizing modes. Default value: AutoSizeMode.NONE.
setBackColor(object)Background color of the barcode image. Default value: #FFFFFF.
setImageHeight(object)BarCode image height when AutoSizeMode property is set to AutoSizeMode.NEAREST or AutoSizeMode.INTERPOLATION.
setImageWidth(object)BarCode image width when AutoSizeMode property is set to AutoSizeMode.NEAREST or AutoSizeMode.INTERPOLATION.
setResolution(object)Sets the resolution of the BarCode image. One value for both dimensions. Default value: 96 dpi.
setRotationAngle(object)BarCode image rotation angle, measured in degree, e.g. RotationAngle = 0 or RotationAngle = 360 means no rotation. If RotationAngle NOT equal to 90, 180, 270 or 0, it may increase the difficulty for the scanner to read the image. Default value: 0.
setUseAntiAlias(object)Sets a value indicating whether is used anti-aliasing mode to render image.

Fields

NameDescription
barcodeParameters
borderParameters
captionAbove
captionBelow
image
imageHeight
imageWidth

See Also