Last active
March 5, 2019 09:51
-
-
Save bjoerntx/a1824a066e76e54f7d5ea540b35f3324 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
ReportingCloud rc = new ReportingCloud(sUsername, sPassword, uriBasePath); | |
// upload 1 more document with unique file name | |
byte[] bDocument = File.ReadAllBytes("documents/invoice.tx"); | |
// create thumbnails | |
List<System.Drawing.Image> images = rc.GetDocumentThumbnails(bDocument, 20, 1, 2, ImageFormat.PNG); | |
// check, if images are created | |
Console.WriteLine(images.Count().ToString() + " image thumbnails have been created."); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment