Class CodetextParameters

Class CodetextParameters

Der Name: Aspose.BarCode.Generation Zusammensetzung: Aspose.BarCode.dll (25.4.0)

Codetext Parameter.

public class CodetextParameters

Inheritance

object CodetextParameters

Vererbte Mitglieder

object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Properties

Alignment

Erhält oder stellt die Anpassung des Code-Text.Standardwert: StringAlignment.Center.

[XmlSerialization(Type = XmlSerializationType.Element)]
public TextAlignment Alignment { get; set; }

Eigentumswert

TextAlignment

Color

Angeben Sie die Zeichnung der CodeText-Farbe.Standardwert: Color.Black.

[XmlSerialization(Type = XmlSerializationType.Element)]
public Color Color { get; set; }

Eigentumswert

Color

Font

Angeben Sie die Zeichnung des CodeText-Schriftstücks.Standardwert: Arial 5pt regelmäßig.Vernachlässigt, ob FontMode auf FontMode.Auto eingestellt wird.

[XmlSerialization(Type = XmlSerializationType.Element, Name = "Font")]
public FontUnit Font { get; }

Eigentumswert

FontUnit

FontMode

Angeben Sie FontMode.Wenn FontMode auf Auto eingestellt wird, wird die Schriftgröße automatisch auf der Grundlage des xDimension-Werts berechnet.Es wird empfohlen, FontMode.Auto vor allem in AutoSizeMode.Nearest oder AutoSizeMode.Interpolation zu verwenden.Standardwert: FontMode.Auto.

[XmlSerialization(Type = XmlSerializationType.Element)]
public FontMode FontMode { get; set; }

Eigentumswert

FontMode

Location

Angeben Sie die anzeigende CodeText-Lokation, die auf CodeLocation.Nee eingestellt wird, um CodeText zu verbergen.Standardwert: CodeLocation.Below für 1D Barcodes und CodeLocation.None für 2D Barcodes.

[XmlSerialization(Type = XmlSerializationType.Element)]
public CodeLocation Location { get; set; }

Eigentumswert

CodeLocation

NoWrap

Spezifizieren Sie Word wraps (Liniebrechen) innerhalb des Textes.Default Wert: Falsch.

[XmlSerialization(Type = XmlSerializationType.Element)]
public bool NoWrap { get; set; }

Eigentumswert

bool

Space

Raum zwischen CodeText und BarCode in Aspose.BarCode.Generation.Unit Wert.Standardwert: 2pt.Ignoriert für EAN8, EAN13, UPCE, UPCA, ISBN, ISMN, ISSN, UpcaGs1DatabarCoupon.

[XmlSerialization(Type = XmlSerializationType.Element, Name = "Space")]
public Unit Space { get; set; }

Eigentumswert

Unit

2DisplayText

Text, der statt Codetext in 2D Barcodes angezeigt wird.Benutzt für: Aztec, Pdf417, DataMatrix, QR, MaxiCode, DotCode

[XmlSerialization(Type = XmlSerializationType.Element)]
public string TwoDDisplayText { get; set; }

Eigentumswert

string

Methods

ToString()

Wiederherrscht eine menschlich lesbare String-Repräsentation dieses Aspose.BarCode.Generation.CodetextParameters.

public override string ToString()

Returns

string

Eine Zeile, die diese Aspose.BarCode.Generation.CodetextParameters darstellt.

 Deutsch