Skip to content

Instantly share code, notes, and snippets.

@bjoerntx
Created August 29, 2016 14:43
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/c2a56c2bb878619d50e2684f16ecec41 to your computer and use it in GitHub Desktop.
Save bjoerntx/c2a56c2bb878619d50e2684f16ecec41 to your computer and use it in GitHub Desktop.
using System;
using System.Collections.Generic;
using System.Drawing;
using TXTextControl.ReportingCloud;
class RCSamples
{
public static void GetTemplateThumbnails(string templateName)
{
ReportingCloud rc = new ReportingCloud(
"username",
"password",
new Uri("https://api.reporting.cloud"));
try
{
TemplateInfo templateInfo = rc.GetTemplateInfo(sTempFilename);
Console.WriteLine(templateInfo.TemplateName);
}
catch (Exception e)
{
Console.WriteLine("An error occurred: " + e.Message);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment