private NewXmlNode ( string stylename ) : void | ||
stylename | string | The stylename which should be referenced with this FormatedText. |
return | void |
private void NewXmlNode( string stylename)
{
this.Node = this.Document.CreateNode("span", "text");
XmlAttribute xa = this.Document.CreateAttribute("style-name", "text");
xa.Value = stylename;
this.Node.Attributes.Append(xa);
}