bind.cs

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

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

namespace AnotherPDFLib.XFA
{
	/// <summary>
	/// An element that controls the behavior during merge operations of its enclosing element.
	/// </summary>
	public class bind : element_proto
	{
		public bind() : base("bind") { }

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

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

		protected picture _picture;

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

	}
}

⌨️ 快捷键说明

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