TX Text Control .NET for WPF

Outline Class

Class|Introduced in 23.0
Namespace
TXTextControl.Drawing
Package
TXTextControl.TextControl.WPF.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXDrawing.dll
Install
dotnet add package TXTextControl.TextControl.WPF.SDK .NET 8 and later. For .NET Framework, reference TXDrawing.dll from the setup.
Implements
INotifyPropertyChanged

Description

The Drawing.Shape.Outline class determines the line properties of a shape. The Outline class implements the System.ComponentModel.INotifyPropertyChanged interface.

Syntax

public class Shape.Outline : INotifyPropertyChanged

Examples

The following example includes the color value from an Outline object in application diagnostics. The created object is then available to the surrounding document workflow.

Console.WriteLine($"Color: {outline.Color}");
Console.WriteLine("Outline is ready for use.");

Members

Properties

PropertyDescription
ColorGets or sets the shape's line color. The default value is System.Drawing.Color.Black.
WidthGets or sets the shape's line width. The value is given in twips. The default value is 20.

Events

EventDescription
PropertyChangedNot described in the reference. public event PropertyChangedEventHandler PropertyChanged;