Class CodetextParametersUI

CodetextParametersUI class

Codetext parameters.

public class CodetextParametersUI

Properties

NameDescription
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; set; }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 for 1D barcodes and CodeLocation.None for 2D barcodes.
Space { get; }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

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

See Also