traverse.cs

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

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

namespace AnotherPDFLib.XFA
{
	/// <summary>
	/// An element that declares a single link from its container to another object in a unidirectional chain of links.
	/// </summary>
	public class traverse : element_id_extras
	{
		public traverse() : base("traverse") { }

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

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

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

		protected script _script;

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

	}
}

⌨️ 快捷键说明

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