CodetextParameters

CodetextParameters class

Codetext parameters.

The CodetextParameters type exposes the following members:

Properties

NameDescription
two_d_display_textText that will be displayed instead of codetext in 2D barcodes.
Used for: Aztec, Pdf417, DataMatrix, QR, MaxiCode, DotCode
font_modeSpecify 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.
fontSpecify the displaying CodeText’s font.
Default value: Arial 5pt regular.
Ignored if FontMode is set to FontMode.Auto.
spaceSpace between the CodeText and the BarCode in Unit value.
Default value: 2pt.
Ignored for EAN8, EAN13, UPCE, UPCA, ISBN, ISMN, ISSN, UpcaGs1DatabarCoupon.
alignmentGets or sets the alignment of the code text.
Default value: StringAlignment.Center.
locationSpecify the displaying CodeText Location, set to CodeLocation.None to hide CodeText.
Default value: CodeLocation.Below for 1D barcodes and CodeLocation.None for 2D barcodes.
no_wrapSpecify word wraps (line breaks) within text.
Default value: false.

See Also