AODL.Document.Content.Charts.ChartTitle.InitTitle C# (CSharp) Method

InitTitle() public method

Init the title's default text
public InitTitle ( ) : void
return void
		public void InitTitle()
		{
			Paragraph para = new Paragraph (this.Chart.Document );
			para.TextContent .Add (new SimpleText (this.Document ,"������"));
			this.Content .Add (para);
		}

Usage Example

Beispiel #1
0
 public void New()
 {
     IsNewed = true;
     LoadBlankContent();
     LoadBlankStyles();
     InitStandards();
     ChartLegend = new ChartLegend(this, "ch2");
     ChartTitle  = new ChartTitle(this, "ch3");
     ChartTitle.InitTitle();
     Content.Add(ChartTitle);
     ChartPlotArea = new ChartPlotArea(this, "ch4");
     if (Frame == null)
     {
         Frame = new Frame(Document, "gr1");
         //this.CreateParentNode (null);
         Frame.Content.Add(this);
     }
     InitChart();
 }