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