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

Clone() public method

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

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

			return formatedTextClone;
		}