Xceed Words for .NET v3.0 Documentation
InsertChartAfterParagraph Method


Xceed.Document.NET Assembly > Xceed.Document.NET Namespace > Document Class : InsertChartAfterParagraph Method
The Chart to insert.
The Paragraph after which to insert the chart.
The width of the chart (in points). By default, 432.
The height of the chart (in points). By default, 252.
Inserts a chart in the document after the specified paragraph.
Syntax
'Declaration
 
Public Sub InsertChartAfterParagraph( _

   ByVal chart As Chart, _

   ByVal paragraph As Paragraph, _

   Optional ByVal width As Single, _

   Optional ByVal height As Single _

) 
'Usage
 
Dim instance As Document

Dim chart As Chart

Dim paragraph As Paragraph

Dim width As Single

Dim height As Single

 

instance.InsertChartAfterParagraph(chart, paragraph, width, height)
public void InsertChartAfterParagraph( 

   Chart chart,

   Paragraph paragraph,

   float width,

   float height

)

Parameters

chart
The Chart to insert.
paragraph
The Paragraph after which to insert the chart.
width
The width of the chart (in points). By default, 432.
height
The height of the chart (in points). By default, 252.
Remarks

This method expects height and width values expressed in points (pt).

Requirements

Target Platforms: Windows 11, Windows 10, Windows 7, Windows, 11, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Document Class
Document Members