using System;
using System.Drawing;
namespace Dongke.WinForm.Controls.InvoiceLayout.DrawBarcode.OneD
{
///
/// 一维码绘制参数
///
[Serializable]
public class OneDDrawingOptions : DrawingOptions
{
private bool _showText = false;
private int? _textMargin = null;
private Font _textFont = null;
///
/// 一维码绘制参数
///
public OneDDrawingOptions()
{
}
///
/// 显示条码
///
public bool ShowText
{
get
{
return _showText;
}
set
{
_showText = value;
}
}
///
/// 条码与文字间余白
///
public int? TextMargin
{
get
{
return _textMargin;
}
set
{
_textMargin = value;
}
}
///
/// 字体
///
public Font TextFont
{
get
{
return _textFont;
}
set
{
_textFont = value;
}
}
}
}