UserNames Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. dll
Description
Gets or sets a list of names specifying users who have access to editable regions. When a document is set to read-only all editable regions that are related to these users can be edited.
Syntax
public string[] UserNames { get; set; }Public Property UserNames As String()Examples
The following example uses TextControl.UserNames to configure user names as part of the text control workflow. The change is then applied to the active document or user interface.
textControl.UserNames = new string[] { "Editor" };
textControl.Update();textControl.UserNames = New String() { "Editor" }
textControl.Update()