ServerTextControl Constructor
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesServer. dll
Description
Initializes a new instance of the ServerTextControl class. After initialization the Create method must be called to enable further resources.
Syntax
public ServerTextControl();Public Sub New()Examples
The following example initializes a server-side text control, creates a document, and exports it to PDF.
using ServerTextControl textControl = new();
textControl.Create();
textControl.Text = "Quarterly results";
textControl.Save("quarterly-results.pdf", StreamType.AdobePDF);Using textControl As New ServerTextControl()
textControl.Create()
textControl.Text = "Quarterly results"
textControl.Save("quarterly-results.pdf", StreamType.AdobePDF)
End Using