barcode.cs

来自「PDF文件格式解析库源代码」· CS 代码 · 共 144 行

CS
144
字号
using System;
using System.Collections.Generic;
using System.Text;

namespace AnotherPDFLib.XFA
{
	/// <summary>
	/// An element that represents a bar code.
	/// </summary>
	public class barcode : control
	{
		public barcode() : base("barcode") { }

		public checksum checksum
		{
			set
			{
				this.SetAttribute("checksum", value);
			}
		}

		public string dataColumnCount
		{
			set
			{
				this.SetAttribute("dataColumnCount", value);
			}
		}

		public string dataLength
		{
			set
			{
				this.SetAttribute("dataLength", value);
			}
		}

		public string dataRowCount
		{
			set
			{
				this.SetAttribute("dataRowCount", value);
			}
		}

		public string rowColumnRatio
		{
			set
			{
				this.SetAttribute("rowColumnRatio", value);
			}
		}

		public string wideNarrowRatio
		{
			set
			{
				this.SetAttribute("wideNarrowRatio", value);
			}
		}

		public string type
		{
			set
			{
				this.SetAttribute("type", value);
			}
		}

		public bool truncate
		{
			set
			{
				this.SetAttribute("truncate", value);
			}
		}

		public char startChar
		{
			set
			{
				this.SetAttribute("startChar", value);
			}
		}

		public char endChar
		{
			set
			{
				this.SetAttribute("endChar", value);
			}
		}

		public string errorCorrectionLevel
		{
			set
			{
				this.SetAttribute("errorCorrectionLevel", value);
			}
		}

		public dataPrep dataPrep
		{
			set
			{
				this.SetAttribute("dataPrep", value);
			}
		}

		public textLocation textLocation
		{
			set
			{
				this.SetAttribute("textLocation", value);
			}
		}

		public measurement moduleHeight
		{
			set
			{
				this.SetAttribute("moduleHeight", value);
			}
		}

		public measurement moduleWidth
		{
			set
			{
				this.SetAttribute("moduleWidth", value);
			}
		}

		public bool printCheckDigit
		{
			set
			{
				this.SetAttribute("printCheckDigit", value);
			}
		}

	}
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?