⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 caption.cs

📁 PDF文档生成解析使用的库,可以用来改写自己的文档格式
💻 CS
字号:
using System;
using System.Collections.Generic;
using System.Text;

namespace AnotherPDFLib.XFA
{
	/// <summary>
	/// A box model element that describes a descriptive label associated with an object.
	/// </summary>
	public class caption : boxelement
	{
		public caption() : base("caption") { }

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

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

		protected font _font;

		public font font
		{
			get
			{
				if (_font == null)
				{
					_font = new font();
					this.AddChild(_font);
				}
				return _font;
			}
			set
			{
				this.RemoveChild(_font);
				_font = value;
				this.AddChild(_font);
			}
		}

		protected margin _margin;

		public margin margin
		{
			get
			{
				if (_margin == null)
				{
					_margin = new margin();
					this.AddChild(_margin);
				}
				return _margin;
			}
			set
			{
				this.RemoveChild(_margin);
				_margin = value;
				this.AddChild(_margin);
			}
		}

		protected para _para;

		public para para
		{
			get
			{
				if (_para == null)
				{
					_para = new para();
					this.AddChild(_para);
				}
				return _para;
			}
			set
			{
				this.RemoveChild(_para);
				_para = value;
				this.AddChild(_para);
			}
		}

		protected value _value;

		public value value
		{
			get
			{
				if (_value == null)
				{
					_value = new value();
					this.AddChild(_value);
				}
				return _value;
			}
			set
			{
				this.RemoveChild(_value);
				_value = value;
				this.AddChild(_value);
			}
		}

	}
}

⌨️ 快捷键说明

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