private Graphic CreateGraphic(XmlNode graphicnode)
{
try
{
Graphic graphic = new Graphic(this._document, null, null);
graphic.Node = graphicnode;
graphic.GraphicRealPath = Path.Combine(_document.DirInfo.Dir, graphic.HRef);
return graphic;
}
catch(Exception ex)
{
throw new AODLException("Exception while trying to create a Graphic.", ex);
}
}