connect.cs

来自「PDF文档生成解析使用的库,可以用来改写自己的文档格式」· CS 代码 · 共 63 行

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

namespace AnotherPDFLib.XFA
{
	/// <summary>
	/// An element that describes the relationship between its containing object and a connection to a web
	/// service, schema, or data description. Connections are defined outside the template in a separate packet
	/// with its own schema.
	/// </summary>
	public class connect : element_proto
	{
		public connect() : base("connect") { }

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

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

		public usage usage
		{
			set
			{
				this.SetAttribute("usage", 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 + -
显示快捷键?