TX Text Control .NET for WPF

DocumentSettings Property

Property|Introduced in 29.0
Namespace
TXTextControl.WPF
Package
TXTextControl.TextControl.WPF.SDK as TXTextControl.WPF.dll from the private NuGet feed or Text Control Offline Packages

Description

Gets a DocumentSettings object providing properties which inform about general document settings, such as author and title, contained in the document the user is currently working on. When a document is loaded this object is filled with such information and all values are automatically stored when the document is saved.

Syntax

public DocumentSettings DocumentSettings { get; }

Examples

The following example includes the document settings value in application diagnostics. The created object is then available to the surrounding document workflow.

Console.WriteLine($"Document Settings: {textControl.DocumentSettings}");
Console.WriteLine("Text Control is ready for use.");

Limitations

Read only.