AODL.Document.Content.Text.FormatedText.Clone C# (CSharp) Méthode

Clone() public méthode

Create a deep clone of this FormatedText object.
A possible Attached Style wouldn't be cloned!
public Clone ( ) : object
Résultat 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;
		}