BaseGenerationParameters
BaseGenerationParameters class
条码图像生成参数。
public class BaseGenerationParameters
特性
| 姓名 | 描述 |
|---|---|
| AutoSizeMode { get; set; } | 指定不同类型的自动调整大小模式。 默认值:AutoSizeMode.None。 |
| BackColor { get; set; } | 条码图像的背景色。 默认值:Color.White。 见Color. |
| Barcode { get; } | 获取BarcodeParameters包含所有条形码属性。 |
| Border { get; } | 获取BorderParameters包含条形码边框的所有配置属性。 |
| CaptionAbove { get; } | 条码图像上方的标题。看CaptionParameters. |
| CaptionBelow { get; } | 条码图像下方的标题。看CaptionParameters. |
| ImageHeight { get; set; } | 条码图像高度时AutoSizeMode属性设置为 AutoSizeMode.Nearest 或 AutoSizeMode.Interpolation. |
| ImageWidth { get; set; } | 条码图像宽度时AutoSizeMode属性设置为 AutoSizeMode.Nearest 或 AutoSizeMode.Interpolation. |
| Resolution { get; set; } | 获取或设置条形码图像的分辨率。 两个维度的一个值。 默认值:96 dpi。 |
| RotationAngle { get; set; } | BarCode 图像旋转角度,以度为单位,例如 RotationAngle = 0 或 RotationAngle = 360 表示不旋转。 如果 RotationAngle 不等于 90、180、270 或 0,可能会增加扫描仪读取图像的难度。 默认值:0. |