AODL.Document.Content.Text.Indexes.TableOfContents.CreateTitlePargraph C# (CSharp) Метод

CreateTitlePargraph() приватный Метод

Creates the title pargraph.
private CreateTitlePargraph ( ) : void
Результат void
		private void CreateTitlePargraph()
		{
			this.TitleParagraph		= new Paragraph(((TextDocument)this.Document), "Table_Of_Contents_Title");
			this.TitleParagraph.TextContent.Add(new SimpleText(this.Document, this.Title));
			//Set default styles
			this.TitleParagraph.ParagraphStyle.TextProperties.Bold		= "bold";
			this.TitleParagraph.ParagraphStyle.TextProperties.FontName	= FontFamilies.Arial;
			this.TitleParagraph.ParagraphStyle.TextProperties.FontSize	= "20pt";
			//Add to the index title
			this._indexBodyNode.ChildNodes[0].AppendChild(this.TitleParagraph.Node);
		}