Gets a collection of all drawings contained in the main text of the document. The property value is an object of the type DataVisualization.DrawingCollection. The collection can be used to get or to alter a drawing's attributes and to add drawings to or to remove drawings from the main text.

Introduced: X13.


public DataVisualization.DrawingCollection Drawings { get; }
Public ReadOnly Property Drawings() As DataVisualization.DrawingCollection


The following examples describes how to use the 'TXTextControl.MainText.Drawings' property by storing it in a variable of the type 'TXTextControl.DataVisualization.DrawingCollection'.

TXTextControl.MainText mainText = textControl1.TextParts.GetMainText();
TXTextControl.DataVisualization.DrawingCollection myMainTextDrawingsColl = mainText.Drawings;
Dim mainText As TXTextControl.MainText = TextControl1.TextParts.GetMainText()
Dim myMainTextDrawingsColl As TXTextControl.DataVisualization.DrawingCollection = mainText.Drawings


Read only.