UserDefinedPropertyDictionary Constructor
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline Packagesdll
Description
Initializes a new instance of the UserDefinedPropertyDictionary class.
Syntax
public UserDefinedPropertyDictionary();Public Sub New()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;Dim properties As New UserDefinedPropertyDictionary()
properties.Add("ReviewStatus", "Approved")
properties.Add("Department", "Finance")
textControl.DocumentSettings.UserDefinedDocumentProperties = properties