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; }