AODL.Document.Styles.TabStopStyle.NewXmlNode C# (CSharp) Method

NewXmlNode() private method

Create the XmlNode that represent this element.
private NewXmlNode ( double position ) : void
position double The position.
return void
		private void NewXmlNode(double position)
		{			
			this.Node		= this.Document.CreateNode("tab-stop", "style");

			XmlAttribute xa = this.Document.CreateAttribute("position", "style");
			xa.Value		= position.ToString().Replace(",",".")+"cm";
			this.Node.Attributes.Append(xa);
		}