The Controls
public class ControlsFactory
Public Class ControlsFactory
Introduced: X13.
The following example shows how to add a Text
@using TXTextControl.Web.MVC
@using TXTextControl.Web
@Html.TXTextControl().TextControl(settings => {
settings.Width = "100%";
settings.Height = "600px";
settings.DatabaseFileDirectory = Server.MapPath("~/App_Data/Databases");
}).LoadText(Server.MapPath("~/App_Data/Documents/Demo.rtf"), StreamType.RichTextFormat).Render()
Method | Description |
---|---|
Text |
Creates a Text |