CodetextParameters
内容
[
隐藏
]CodetextParameters class
代码文本参数。
public class CodetextParameters
特性
| 姓名 | 描述 |
|---|---|
| Alignment { get; set; } | 获取或设置代码文本的对齐方式。 默认值:StringAlignment.Center. |
| Color { get; set; } | 指定显示CodeText的颜色。 默认值:Color.Black. |
| Font { get; } | 指定显示 CodeText 的字体。 默认值:Arial 5pt 常规。 如果 FontMode 设置为 FontMode.Auto,则忽略。 |
| FontMode { get; set; } | 指定字体模式。如果 FontMode 设置为 Auto,则会根据 xDimension 值自动计算字体大小。 建议使用 FontMode.Auto,尤其是在 AutoSizeMode.Nearest 或 AutoSizeMode.Interpolation. 默认值:FontMode.Auto. |
| Location { get; set; } | 指定显示的 CodeText 位置,设置为 CodeLocation.None 隐藏 CodeText. 默认值:CodeLocation.Below. |
| NoWrap { get; set; } | 在文本中指定自动换行(换行)。 默认值:false。 |
| Space { get; set; } | CodeText 和 BarCode 之间的空间Unitvalue. 默认值:2pt. 忽略 EAN8、EAN13、UPCE、UPCA、ISBN、ISMN、ISSN、UpcaGs1DatabarCoupon. |
| TwoDDisplayText { get; set; } | 将在二维条码中显示的文本而不是代码文本。 用于:Aztec、Pdf417、DataMatrix、QR、MaxiCode、DotCode |
方法
| 姓名 | 描述 |
|---|---|
| override ToString() | 返回一个人类可读的字符串表示CodetextParameters. |