TX Text Control .NET Server

UserDefinedPropertyDictionary Constructor

Constructor|Introduced in 24.0
Namespace
TXTextControl
Package
TXTextControl.TextControl.Core.SDK as TXTextControl.Core.dll from the private NuGet feed or Text Control Offline Packages
Also in
TXTextControl.TextControl.ASP.SDK as TXTextControl.dll

Description

Initializes a new instance of the UserDefinedPropertyDictionary class.

Syntax

public UserDefinedPropertyDictionary();

Examples

The following example creates a property dictionary and assigns it to the document settings.

UserDefinedPropertyDictionary properties = new();
properties.Add("ReviewStatus", "Approved");
properties.Add("Department", "Finance");
textControl.DocumentSettings.UserDefinedDocumentProperties = properties;