Charts Property
- Namespace
TXTextControl
- Inherited from
- TextPartBase
- Package
TXTextControl.asTextControl. Core. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesCore. dll
- Also in
TXTextControl.asTextControl. ASP. SDK TXTextControl.dll
Description
Gets a collection of all charts contained in the footnote section of a page. 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.
Syntax
public ChartCollection Charts { get; }Public ReadOnly Property Charts As ChartCollectionExamples
The following example applies bold formatting through the footnote section's selection by using FootnoteSection.Charts.
Selection formattedSelection = footnoteSection.Selection;
formattedSelection.Bold = true;
footnoteSection.Selection = formattedSelection;
foreach (TXTextControl.DataVisualization.ChartFrame chartFrame in footnoteSection.Charts)
{
chartFrame.DescriptiveText = "Quarterly results";
}Dim formattedSelection As Selection = footnoteSection.Selection
formattedSelection.Bold = True
footnoteSection.Selection = formattedSelection
For Each chartFrame As TXTextControl.DataVisualization.ChartFrame In footnoteSection.Charts
chartFrame.DescriptiveText = "Quarterly results"
NextLimitations
Read only.