CodetextParameters

CodetextParameters class

Codetext parameters.

public class CodetextParameters

Properties

Name Description
Alignment { get; set; } Gets or sets the alignment of the code text. Default value: StringAlignment.Center.
Color { get; set; } Specify the displaying CodeText’s Color. Default value: Color.Black.
Font { get; } Specify the displaying CodeText’s font. Default value: Arial 5pt regular. Ignored if FontMode is set to FontMode.Auto.
FontMode { get; set; } Specify FontMode. If FontMode is set to Auto, font size will be calculated automatically based on xDimension value. It is recommended to use FontMode.Auto especially in AutoSizeMode.Nearest or AutoSizeMode.Interpolation. Default value: FontMode.Auto.
Location { get; set; } Specify the displaying CodeText Location, set to CodeLocation.None to hide CodeText. Default value: CodeLocation.Below.
NoWrap { get; set; } Specify word wraps (line breaks) within text. Default value: false.
Space { get; set; } Space between the CodeText and the BarCode in Unit value. Default value: 2pt. Ignored for EAN8, EAN13, UPCE, UPCA, ISBN, ISMN, ISSN, UpcaGs1DatabarCoupon.
TwoDDisplayText { get; set; } Text that will be displayed instead of codetext in 2D barcodes. Used for: Aztec, Pdf417, DataMatrix, QR, MaxiCode, DotCode

Methods

Name Description
override ToString() Returns a human-readable string representation of this CodetextParameters.

See Also