Drawings Property
- Namespace
TXTextControl.WPF
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWPF. dll
Description
Gets a collection of all drawings contained in the text part with the input focus. This can be the main text, a text frame or a header or footer. 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 a document.
Syntax
public DrawingCollection Drawings { get; }Public ReadOnly Property Drawings As DrawingCollectionExamples
The following example iterates through the drawings collection and processes each drawing frame.
foreach (TXTextControl.DataVisualization.DrawingFrame drawingFrame in textControl.Drawings)
{
drawingFrame.DescriptiveText = "Quarterly results";
}For Each drawingFrame As TXTextControl.DataVisualization.DrawingFrame In textControl.Drawings
drawingFrame.DescriptiveText = "Quarterly results"
NextLimitations
Runtime only.
Read only.