DocumentSettings Property
- Namespace
TXTextControl.WPF
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWPF. 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 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.");Console.WriteLine($"Document Settings: {textControl.DocumentSettings}")
Console.WriteLine("Text Control is ready for use.")Limitations
Read only.