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

FormatedText() public method

Overloaded constructor.
public FormatedText ( IDocument document, string name, string text ) : System
document IDocument The content object to which the formated text belongs to.
name string The stylename which should be referenced with this FormatedText object.
text string The Displaytext.
return System
		public FormatedText(IDocument document, string name, string text)
		{
			this.Document				= document;
			this.NewXmlNode(name);
			this.InitStandards();

			this.Text					= text;
			this.Style					= (IStyle)new TextStyle(this.Document, name);
			this.Document.Styles.Add(this.Style);
		}

Same methods

FormatedText::FormatedText ( IDocument document, TextStyle textstyle, string text ) : System
FormatedText::FormatedText ( IDocument document, XmlNode node ) : System