Charts Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. Core. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesServer. Core. dll
- Also in
TXTextControl.asTextControl. ASP. SDK TXTextControl.Server. dll
Description
Gets a collection of all charts in a document. 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.