AODL.Document.Content.Draw.Graphic.NewXmlNode C# (CSharp) Method

NewXmlNode() private method

Create a new XmlNode.
private NewXmlNode ( string graphiclink ) : void
graphiclink string The stylename which should be referenced with this frame.
return void
		private void NewXmlNode(string graphiclink)
		{			
			this.Node		= this.Document.CreateNode("image", "draw");

			XmlAttribute xa = this.Document.CreateAttribute("href", "xlink");
			xa.Value		= graphiclink;

			this.Node.Attributes.Append(xa);

			xa				= this.Document.CreateAttribute("type", "xlink");
			xa.Value		= "standard"; 

			this.Node.Attributes.Append(xa);

			xa				= this.Document.CreateAttribute("show", "xlink");
			xa.Value		= "embed"; 

			this.Node.Attributes.Append(xa);

			xa				= this.Document.CreateAttribute("actuate", "xlink");
			xa.Value		= "onLoad"; 

			this.Node.Attributes.Append(xa);
		}