PlainTextContentControl Class
- Namespace
TXTextControl.DocumentServer. Fields
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTextControl. Core. SDK
- Assembly
TXDocumentServer.Core. dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTextControl. Core. SDK TXDocumentServer.from the setup.dll
- Also in
TXTextControl.asTextControl. ASP. SDK TXDocumentServer.dll
- Inherits
- Field
Adapter - Content
Control Field Adapter - Plain
Text Content Control
- Field
Description
The PlainTextContentControl implements the MS Word specific plain text content control field. This field must be used in combination with an ApplicationField that should be modified using this adapter.
Syntax
public class PlainTextContentControl : ContentControlFieldAdapterPublic Class PlainTextContentControl
Inherits ContentControlFieldAdapterExamples
The following example creates a Plain Text Content Control instance and configures its text setting for a document workflow.
TXTextControl.DocumentServer.Fields.PlainTextContentControl plainTextContentControl = new();
plainTextContentControl.Text = "Quarterly results";Dim plainTextContentControl As New TXTextControl.DocumentServer.Fields.PlainTextContentControl()
plainTextContentControl.Text = "Quarterly results"Members
Constructors
| Constructor | Description |
|---|---|
| ContentControlFieldAdapter | Initializes a new instance of the ContentControlFieldAdapter class. (Inherited from ContentControlFieldAdapter.) |
| PlainTextContentControl | Initializes a new instance of the PlainTextContentControl class. |
Properties
| Property | Description |
|---|---|
| ContentDeletable | Specifies whether the content of the content control field should be deletable or not. (Inherited from ContentControlFieldAdapter.) |
| ContentEditable | Specifies whether the content of the content control field should be editable or not. (Inherited from ContentControlFieldAdapter.) |
| Id | Gets or sets the content control's id. (Inherited from ContentControlFieldAdapter.) |
| Placeholder | Gets or sets the placeholder field part of the content control field. (Inherited from ContentControlFieldAdapter.) |
| Tag | Gets or sets the content control's tag. (Inherited from ContentControlFieldAdapter.) |
| Text | Gets or sets the text of the content control field. |
| Title | Gets or sets the content control's title. (Inherited from ContentControlFieldAdapter.) |
| Type | Gets or sets the type of the content control field. (Inherited from ContentControlFieldAdapter.) |