set
{
_marginY = value;
}
}
/// <summary>
/// 模块高度(mm)
/// </summary>
public float ModuleHeight
{
get
{
return _moduleHeight;
}
set
{
_moduleHeight = value;
}
}
/// <summary>
/// 模块宽度(mm)
/// 模块宽度不应低于0.2646f
/// 模块宽度过低会造成数据丢失因而读不出数据或者会误读
/// </summary>
public float ModuleWidth
{
get
{
return _moduleWidth;
}
set
{
_moduleWidth = value;
}
}
/// <summary>
/// 放大比率
/// </summary>
public float Ratio
{
get
{
return _ratio;
}
set
{
_ratio = value;
}
}
/// <summary>
/// 缩小
/// </summary>
public float Reduction
{
get
{
return _reduction;
}
set
{
_reduction = value;
}
}
/// <summary>
/// 设置条形码的颜色
/// </summary>
public Color CodeBarColor
{
get
{
return _codeBarColor;
}
set
{
_codeBarColor = value;
}
}
/// <summary>
/// 是否显示效验码
/// 此属性要在Checksum属性为true的情况下有用
/// </summary>
public bool IsDisplayCheckCode
{
get { return this._isDisplayCheckCode; }
set { this._isDisplayCheckCode = value; }