Skip to content

Instantly share code, notes, and snippets.

@bjoerntx
Created December 9, 2016 10:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bjoerntx/2dcac7e44ccb86203600b5314cfb5cb0 to your computer and use it in GitHub Desktop.
Save bjoerntx/2dcac7e44ccb86203600b5314cfb5cb0 to your computer and use it in GitHub Desktop.
@Html.TXTextControl().TextControl(settings =>
{
settings.Dock = DockStyle.Window;
settings.ServiceAddress = IPAddress.Parse("xx.xx.xxx.xx");
settings.ImageFileDirectory =
RCUser.GetDirectoryPath(RCUser.DirectoryType.Images);
}).LoadDataFromJson(Model.Datasource).LoadText(
Convert.FromBase64String(Model.Template),
BinaryStreamType.InternalUnicodeFormat).Render()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment