DocumentKeywords Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline Packagesdll
Description
Gets or sets the current document's keywords. The property value is null, if there are no keywords contained in the document.
Syntax
public string[] DocumentKeywords { get; set; }Public Property DocumentKeywords As String()Examples
The following example configures document settings for the current document by using DocumentSettings.DocumentKeywords.
DocumentSettings documentSettings = textControl.DocumentSettings;
documentSettings.DocumentKeywords = new string[] { "Quarterly report" };
if (documentSettings.DocumentKeywords != null)
{
Console.WriteLine("Document Settings: Document Keywords is available.");
}
documentSettings.DocumentTitle = "Quarterly results";
documentSettings.Author = "Finance team";Dim documentSettings As DocumentSettings = textControl.DocumentSettings
documentSettings.DocumentKeywords = New String() { "Quarterly report" }
If documentSettings.DocumentKeywords IsNot Nothing Then
Console.WriteLine("Document Settings: Document Keywords is available.")
End If
documentSettings.DocumentTitle = "Quarterly results"
documentSettings.Author = "Finance team"