Outline Class
- Namespace
TXTextControl.Drawing
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTextControl. WPF. SDK
- Assembly
TXDrawing.dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTextControl. WPF. SDK TXDrawing.from the setup.dll
- Implements
- INotify
Property Changed
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 : INotifyPropertyChangedPublic Class Shape.Outline
Implements INotifyPropertyChangedExamples
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.");Console.WriteLine($"Color: {outline.Color}")
Console.WriteLine("Outline is ready for use.")Members
Properties
| Property | Description |
|---|---|
| Color | Gets or sets the shape's line color. The default value is System.Drawing.Color.Black. |
| Width | Gets or sets the shape's line width. The value is given in twips. The default value is 20. |
Events
| Event | Description |
|---|---|
| PropertyChanged | Not described in the reference. public event PropertyChangedEventHandler PropertyChanged; |