TX Text Control .NET for Windows Forms

DocumentSettings Property

Property|Introduced in 29.0
Namespace
TXTextControl
Package
TXTextControl.TextControl.WinForms.SDK as TXTextControl.Server.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 assigns document metadata before export.

textControl.DocumentSettings.DocumentTitle = "Quarterly results";
textControl.DocumentSettings.Author = "Finance team";

Limitations

Read only.