DocumentSettings Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. dll
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; }Public ReadOnly Property DocumentSettings As DocumentSettingsExamples
The following example assigns document metadata before export.
textControl.DocumentSettings.DocumentTitle = "Quarterly results";
textControl.DocumentSettings.Author = "Finance team";textControl.DocumentSettings.DocumentTitle = "Quarterly results"
textControl.DocumentSettings.Author = "Finance team"Limitations
Read only.