Charts Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. dll
Description
Gets a collection of all charts contained in the text part with the input focus. This can be the main text, a text frame or a header or footer. The property value is an object of the type DataVisualization.ChartCollection. The collection can be used to get or to alter a chart's attributes and to add charts to or to remove charts from a document.
Syntax
public ChartCollection Charts { get; }Public ReadOnly Property Charts As ChartCollectionExamples
The following example iterates through the charts collection and processes each chart frame.
foreach (TXTextControl.DataVisualization.ChartFrame chartFrame in textControl.Charts)
{
chartFrame.DescriptiveText = "Quarterly results";
}For Each chartFrame As TXTextControl.DataVisualization.ChartFrame In textControl.Charts
chartFrame.DescriptiveText = "Quarterly results"
NextLimitations
Runtime only.
Read only.