AODL.Document.Content.Text.Header.Clone C# (CSharp) Method

Clone() public method

Create a deep clone of this Header object.
A possible Attached Style wouldn't be cloned!
public Clone ( ) : object
return object
		public object Clone()
		{
			Header headerClone			= null;

			if (this.Document != null && this.Node != null)
			{
				MainContentProcessor mcp	= new MainContentProcessor(this.Document);
				headerClone					= mcp.CreateHeader(this.Node.CloneNode(true));
			}

			return headerClone;
		}