TX Text Control .NET for WPF

DrawingFrame Constructor

Constructor|Introduced in 23.0
Namespace
TXTextControl.DataVisualization
Package
TXTextControl.TextControl.WPF.SDK as TXTextControl.dll from the private NuGet feed or Text Control Offline Packages

Description

Initializes a new instance of the DrawingFrame class.

Syntax

public DrawingFrame(object drawing);

Parameters

ParameterDescription
drawing

Specifies the drawing control associated with the drawing frame. It must be of the type TXTextControl.Drawing.TXDrawingControl or TXTextControl.WPF.Drawing.TXDrawingControl.

Examples

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

TXTextControl.DataVisualization.DrawingFrame drawingFrame = new("Approved");
drawingFrame.ExportCompressionQuality = 90;