GeneratorParams class

Represents extended BarcodeGenerator params.

Constructors

GeneratorParams()
Constructor
GeneratorParams.fromJson(Map<String, dynamic> json)
Creates a GeneratorParams instance from a JSON representation.

Properties

alwaysShowChecksum bool?
Always display checksum digit in the human readable text for Code128 and GS1Code128 barcodes.
getter/setter pair
australianPost AustralianPostParams?
AustralianPost params.
getter/setter pair
aztec AztecParams?
Aztec params.
getter/setter pair
backColor String?
Background color of the barcode image. Default value: Color.White.
getter/setter pair
barColor String?
Bars color. Default value: Color.Black.
getter/setter pair
barHeight double?
Height of the barcode in given units. Default units: pixel.
getter/setter pair
barWidthReduction double?
Bars reduction value that is used to compensate ink spread while printing.
getter/setter pair
borderColor String?
Border color. Default value: Color.Black.
getter/setter pair
borderDashStyle BorderDashStyle?
Border dash style. Default value: BorderDashStyle.Solid.
getter/setter pair
borderVisible bool?
Border visibility. If false than parameter Width is always ignored (0). Default value: false.
getter/setter pair
borderWidth double?
Border width. Default value: 0. Ignored if Visible is set to false.
getter/setter pair
captionAbove CaptionParams?
Additional caption above barcode.
getter/setter pair
captionBelow CaptionParams?
Additional caption below barcode.
getter/setter pair
codabar CodabarParams?
Codabar params.
getter/setter pair
codablock CodablockParams?
Codablock params.
getter/setter pair
code16K Code16KParams?
Code16K params.
getter/setter pair
code128 Code128Params?
Code128 params.
getter/setter pair
coupon CouponParams?
Coupon params.
getter/setter pair
dataBar DataBarParams?
DataBar params.
getter/setter pair
dataMatrix DataMatrixParams?
DataMatrix params.
getter/setter pair
dimensionX double?
The smallest width of the unit of BarCode bars or spaces. Increase this will increase the whole barcode image width. Ignored if AutoSizeMode property is set to AutoSizeMode.Nearest or AutoSizeMode.Interpolation.
getter/setter pair
dotCode DotCodeParams?
DotCode params.
getter/setter pair
enableChecksum EnableChecksum?
Enable checksum during generation 1D barcodes. Default is treated as Yes for symbology which must contain checksum, as No where checksum only possible. Checksum is possible: Code39 Standard/Extended, Standard2of5, Interleaved2of5, Matrix2of5, ItalianPost25, DeutschePostIdentcode, DeutschePostLeitcode, VIN, Codabar Checksum always used: Rest symbology
getter/setter pair
enableEscape bool?
Indicates whether explains the character "\" as an escape character in CodeText property. Used for Pdf417, DataMatrix, Code128 only If the EnableEscape is true, "\" will be explained as a special escape character. Otherwise, "\" acts as normal characters. Aspose.BarCode supports input decimal ascii code and mnemonic for ASCII control-code characters. For example, \013 and \\CR stands for CR.
getter/setter pair
filledBars bool?
Value indicating whether bars are filled. Only for 1D barcodes. Default value: true.
getter/setter pair
font FontParams?
Specify the displaying Text's font. Default value: Arial 5pt regular. Ignored if FontSizeMode is set to FontSizeMode.Auto.
getter/setter pair
fontSizeMode FontMode?
Specify FontSizeMode. If FontSizeMode is set to Auto, font size will be calculated automatically based on xDimension value. It is recommended to use FontSizeMode.Auto especially in AutoSizeMode.Nearest or AutoSizeMode.Interpolation. Default value: FontSizeMode.Auto.
getter/setter pair
hanXin HanXinParams?
HanXin params.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
imageHeight double?
Height of the barcode image in given units. Default units: pixel.
getter/setter pair
imageWidth double?
Width of the barcode image in given units. Default units: pixel.
getter/setter pair
ITF ITFParams?
ITF params.
getter/setter pair
maxiCode MaxiCodeParams?
MaxiCode params.
getter/setter pair
noWrap bool?
Specify word wraps (line breaks) within text. Default value: false.
getter/setter pair
padding Padding?
Barcode paddings. Default value: 5pt 5pt 5pt 5pt.
getter/setter pair
patchCode PatchCodeParams?
PatchCode params.
getter/setter pair
pdf417 Pdf417Params?
Pdf417 params.
getter/setter pair
postal PostalParams?
Postal params.
getter/setter pair
QR QrParams?
QR params.
getter/setter pair
resolution double?
Resolution of the BarCode image. One value for both dimensions. Default value: 96 dpi.
getter/setter pair
resolutionX double?
DEPRECATED: Use 'Resolution' instead.
getter/setter pair
resolutionY double?
DEPRECATED: Use 'Resolution' instead.
getter/setter pair
rotationAngle double?
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.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sizeMode AutoSizeMode?
Specifies the different types of automatic sizing modes. Default value: AutoSizeMode.None.
getter/setter pair
supplementData String?
Supplement parameters. Used for Interleaved2of5, Standard2of5, EAN13, EAN8, UPCA, UPCE, ISBN, ISSN, ISMN.
getter/setter pair
supplementSpace double?
Space between main the BarCode and supplement BarCode.
getter/setter pair
text String?
Text to encode.
getter/setter pair
textAlignment TextAlignment?
Text alignment.
getter/setter pair
textColor String?
Specify the displaying CodeText's Color. Default value: Color.Black.
getter/setter pair
textLocation CodeLocation?
Specify the displaying Text Location, set to CodeLocation.None to hide CodeText. Default value: CodeLocation.Below.
getter/setter pair
textSpace double?
Space between the CodeText and the BarCode in Unit value. Default value: 2pt. Ignored for EAN8, EAN13, UPCE, UPCA, ISBN, ISMN, ISSN, UpcaGs1DatabarCoupon.
getter/setter pair
twoDDisplayText String?
Text that will be displayed instead of codetext in 2D barcodes. Used for: Aztec, Pdf417, DataMatrix, QR, MaxiCode, DotCode
getter/setter pair
typeOfBarcode EncodeBarcodeType?
Type of barcode to generate.
getter/setter pair
units AvailableGraphicsUnit?
Common Units for all measuring in query. Default units: pixel.
getter/setter pair
useAntiAlias bool?
Indicates whether is used anti-aliasing mode to render image. Anti-aliasing mode is applied to barcode and text drawing.
getter/setter pair
validateText bool?
Only for 1D barcodes. If codetext is incorrect and value set to true - exception will be thrown. Otherwise codetext will be corrected to match barcode's specification. Exception always will be thrown for: Databar symbology if codetext is incorrect. Exception always will not be thrown for: AustraliaPost, SingaporePost, Code39Extended, Code93Extended, Code16K, Code128 symbology if codetext is incorrect.
getter/setter pair
wideNarrowRatio double?
Wide bars to Narrow bars ratio. Default value: 3, that is, wide bars are 3 times as wide as narrow bars. Used for ITF, PZN, PharmaCode, Standard2of5, Interleaved2of5, Matrix2of5, ItalianPost25, IATA2of5, VIN, DeutschePost, OPC, Code32, DataLogic2of5, PatchCode, Code39Extended, Code39Standard
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Returns a JSON representation of GeneratorParams.
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

listFromJson(List json) List<GeneratorParams>
Converts a list of JSON objects to a list of GeneratorParams instances.