Class CodetextParameters
Tên không gian: Aspose.BarCode.Generation Tổng hợp: Aspose.BarCode.dll (25.4.0)
Cấu hình Codetext
public class CodetextParameters
Inheritance
Thành viên thừa kế
object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Properties
Alignment
Nhận hoặc đặt sự phù hợp của văn bản mã.Giá trị mặc định: StringAlignment.Center
[XmlSerialization(Type = XmlSerializationType.Element)]
public TextAlignment Alignment { get; set; }
Giá trị bất động sản
Color
Chọn màu sắc của CodeText hiển thị.Giá trị mặc định: Color.Black
[XmlSerialization(Type = XmlSerializationType.Element)]
public Color Color { get; set; }
Giá trị bất động sản
Color
Font
Tùy chọn phông chữ của CodeText.Giá trị mặc định: Arial 5pt bình thườngKhông biết nếu FontMode được thiết lập vào FontMode.Auto.
[XmlSerialization(Type = XmlSerializationType.Element, Name = "Font")]
public FontUnit Font { get; }
Giá trị bất động sản
FontMode
Nếu FontMode được đặt tự động, kích thước phông chữ sẽ được tính toán tự động dựa trên giá trị xDimension.Nó được khuyến khích để sử dụng FontMode.Auto đặc biệt trong AutoSizeMode.Nearest hoặc AutoSizeMode.Interpolation.Giá trị mặc định: FontMode.Auto
[XmlSerialization(Type = XmlSerializationType.Element)]
public FontMode FontMode { get; set; }
Giá trị bất động sản
Location
Cài đặt vị trí CodeText hiển thị, cài đặt CodeLocation.None để ẩn CodeText.Giá trị mặc định: CodeLocation.Below for 1D barcodes và CodeLocation.None for 2D barcodes.
[XmlSerialization(Type = XmlSerializationType.Element)]
public CodeLocation Location { get; set; }
Giá trị bất động sản
NoWrap
Tùy chọn word wraps (line break) trong văn bản.Giá trị giả: giả
[XmlSerialization(Type = XmlSerializationType.Element)]
public bool NoWrap { get; set; }
Giá trị bất động sản
Space
Không gian giữa CodeText và BarCode trong Aspose.BarCode.Generation.Unit giá trị.Giá trị mặc định: 2pt.Không biết về EAN8, EAN13, UPCE, UPCA, ISBN, ISMN, ISSN, UpcaGs1DatabarCoupon.
[XmlSerialization(Type = XmlSerializationType.Element, Name = "Space")]
public Unit Space { get; set; }
Giá trị bất động sản
2Thông tin
Văn bản sẽ được hiển thị thay vì codetext trong 2D barcodes.Sử dụng cho: Aztec, Pdf417, DataMatrix, QR, MaxiCode, DotCode
[XmlSerialization(Type = XmlSerializationType.Element)]
public string TwoDDisplayText { get; set; }
Giá trị bất động sản
Methods
ToString()
Trở lại một mô tả chuỗi người đọc của Aspose.BarCode.Generation.CodetextParameters.
public override string ToString()
Returns
Một dòng đại diện cho Aspose.BarCode.Generation.CodetextParameters này.