AODL.Document.Content.Charts.ChartImporter.CreateParagraph C# (CSharp) Method

CreateParagraph() public method

public CreateParagraph ( XmlNode paragraphNode ) : Paragraph
paragraphNode System.Xml.XmlNode
return AODL.Document.Content.Text.Paragraph
		public Paragraph CreateParagraph(XmlNode paragraphNode)
		{
			try
			{
				//Create a new Paragraph
				Paragraph paragraph				= new Paragraph(paragraphNode, this.Chart.Document);
				//Recieve the ParagraphStyle
				return this.ReadParagraphTextContent(paragraph);
			}

			catch(Exception ex)
			{
				throw new AODLException("Exception while trying to create a Paragraph.", ex);
			}
		}