版本25,试用版。
@using TXTextControl.Web
@using TXTextControl.Web.MVC
@Html.TXTextControl().TextControl(settings =>
{
settings.DocumentFileDirectory = Server.MapPath("~/App_Data/");
settings.Dock = DockStyle.Fill;
}).LoadXMLDatabase(
Server.MapPath("~/App_Data/sample_db.xml")).LoadText(
Server.MapPath("~/App_Data/invoice.docx"),
StreamType.WordprocessingML).Render()
|