CodetextParameters

CodetextParameters class

Codetext parameters.

The CodetextParameters type exposes the following members:

Properties

Name Description
two_d_display_text Text that will be displayed instead of codetext in 2D barcodes.
Used for: Aztec, Pdf417, DataMatrix, QR, MaxiCode, DotCode
font_mode 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.
font Specify the displaying CodeText’s font.
Default value: Arial 5pt regular.
Ignored if FontMode is set to FontMode.Auto.
space Space between the CodeText and the BarCode in Unit value.
Default value: 2pt.
Ignored for EAN8, EAN13, UPCE, UPCA, ISBN, ISMN, ISSN, UpcaGs1DatabarCoupon.
alignment Gets or sets the alignment of the code text.
Default value: StringAlignment.Center.
color Specify the displaying CodeText’s Color.
Default value: Color.Black.
location Specify 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_wrap Specify word wraps (line breaks) within text.
Default value: false.

See Also