TX Text Control .NET Server

ChartFrame Constructor

Constructor|Introduced in 18.0
Namespace
TXTextControl.DataVisualization
Package
TXTextControl.TextControl.Core.SDK as TXTextControl.Core.dll from the private NuGet feed or Text Control Offline Packages
Also in
TXTextControl.TextControl.ASP.SDK as TXTextControl.dll

Description

Initializes a new instance of the ChartFrame class.

Syntax

public ChartFrame(Component chart);

Parameters

ParameterDescription
chart

Specifies the chart control associated with the chart frame. It must be of the type System.Windows.Forms.DataVisualization.Charting.Chart.

Examples

The following example creates a Chart Frame instance and configures its export compression quality setting for a document workflow.

TXTextControl.DataVisualization.ChartFrame chartFrame = new(new System.ComponentModel.Component());
chartFrame.ExportCompressionQuality = 90;

Further Reading