AODL.Document.Content.EmbedObjects.EmbedObjectHandler.CreateChart C# (CSharp) 메소드

CreateChart() 공개 메소드

create the chart
public CreateChart ( XmlNode ParentNode, string ObjectRealPath, string ObjectName ) : Chart
ParentNode System.Xml.XmlNode
ObjectRealPath string
ObjectName string
리턴 AODL.Document.Content.Charts.Chart
		public  Chart CreateChart(XmlNode ParentNode, string ObjectRealPath,string ObjectName)
		{
			Chart chart                 = new Chart (this._document ,null,ParentNode);

			chart.ObjectType            = "chart";

			chart.ObjectName            = ObjectName;

			chart.ObjectRealPath        = ObjectRealPath;

			ChartImporter chartimporter = new ChartImporter (chart);

			chartimporter.Import ();

			return chart;
		}