Skip to content

Instantly share code, notes, and snippets.

@bjoerntx
Last active August 21, 2017 08:51
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/f33e5b49e0e817eb1b8a51f4b9ac5962 to your computer and use it in GitHub Desktop.
Save bjoerntx/f33e5b49e0e817eb1b8a51f4b9ac5962 to your computer and use it in GitHub Desktop.
Report report = new Report();
report.comments = "<html><strong>Longer strong text</strong>";
report.comments += "with normal text and <em>emphasized text</em></html>";
ReportingCloud rc = new ReportingCloud("username", "password");
MergeBody body = new MergeBody();
body.MergeData = report;
body.MergeSettings = new MergeSettings() { MergeHtml = true };
List<byte[]> documents = rc.MergeDocument(
body,
"comments.tx",
ReturnFormat.TX,
true,
false);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment