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

Syntax

public object Drawing { get; }
Public ReadOnly Property Drawing() As System.Object

Examples

Enter an introductory text for your TXTextControl.ApplicationFieldCollection.GetItem Method example here, or leave blank, if there is nothing to say.

TXTextControl.Drawing.TXDrawingControl myDrawingControl = new TXTextControl.Drawing.TXDrawingControl();   
TXTextControl.DataVisualization.DrawingFrame drawingFrame = new TXTextControl.DataVisualization.DrawingFrame(myDrawingControl);

drawingFrame.Activate();
textControl1.Drawings.Add(drawingFrame, -1);

object myDrawing = drawingFrame.Drawing;
System.Windows.Forms.MessageBox.Show("The Type of the myDrawing object is: " + myDrawing.GetType().ToString());
Dim myDrawingControl As TXTextControl.Drawing.TXDrawingControl = New TXTextControl.Drawing.TXDrawingControl()
Dim drawingFrame As TXTextControl.DataVisualization.DrawingFrame = New TXTextControl.DataVisualization.DrawingFrame(myDrawingControl)
drawingFrame.Activate()
textControl1.Drawings.Add(drawingFrame, -1)

Dim myDrawing As Object = drawingFrame.Drawing
System.Windows.Forms.MessageBox.Show("The Type of the myDrawing object is: " & myDrawing.[GetType]().ToString())

Limitations

Read only.