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

Graphic() public method

Initializes a new instance of the Graphic class.
public Graphic ( IDocument document, Frame frame, string graphiclink ) : System
document IDocument The document.
frame Frame The frame.
graphiclink string The graphiclink.
return System
		public Graphic(IDocument document, Frame frame, string graphiclink)
		{
			this.Frame			= frame;
			this.Document		= document;
			this.GraphicFileName = graphiclink;
			this.NewXmlNode("Pictures/"+graphiclink);
			this.InitStandards();
			this.Document.Graphics.Add(this);
			this.Document.DocumentMetadata.ImageCount	+= 1;
		}