Skip to content

Instantly share code, notes, and snippets.

@bjoerntx
Created April 16, 2018 14:06
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/6e87961b0ae516b3fb5c1d9bed27fe4f to your computer and use it in GitHub Desktop.
Save bjoerntx/6e87961b0ae516b3fb5c1d9bed27fe4f to your computer and use it in GitHub Desktop.
// save the document
byte[] bDocument = null;
textControl1.Save(out bDocument, TXTextControl.BinaryStreamType.InternalUnicodeFormat);
// create the preview
IList<byte[]> bResults = ribbonReportingTab1.DataSourceManager.Merge(bDocument, 1, textControl1);
// load the preview into the Text Control
textControl1.Load(bResults[0], TXTextControl.BinaryStreamType.InternalUnicodeFormat);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment