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

Clone() public method

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

			if (this.Document != null && this.Node != null)
			{
				TextContentProcessor tcp	= new TextContentProcessor();
				simpleTextClone				= (SimpleText)tcp.CreateTextObject(
					this.Document, this.Node.CloneNode(true));
			}

			return simpleTextClone;
		}