Created
August 29, 2016 14:43
-
-
Save bjoerntx/c2a56c2bb878619d50e2684f16ecec41 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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