TX Text Control .NET for Windows Forms

DocumentKeywords Property

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

Description

Gets the document's keywords. The property value is null, if there are no keywords saved in the document.

Syntax

public string[] DocumentKeywords { get; }

Examples

The following example reads LoadSettings.DocumentKeywords after the template has been loaded.

LoadSettings loadSettings = new();
textControl.Load("template.docx", StreamType.WordprocessingML, loadSettings);
Console.WriteLine($"Document Keywords: {loadSettings.DocumentKeywords}");

Limitations

Read only.