Cloud Storage Integrator - Online Help
Cloud Storage Integrator
Questions / Feedback?

GetThumbnail Method

Gets a thumbnail image.

Syntax

[VB.NET]
Public Sub GetThumbnail()
[C#]
public void GetThumbnail();

Remarks

This method retrieves a thumbnail image for the resource specified by ResourcePath. This is only applicable to images (.jpg, .jpeg, .png, .tiff, .tif, .gif and .bmp). Before calling this method ThumbnailFormat and ThumbnailSize may be set to specify the format and size of the thumbnail. If the original image is over 20 MB in size no thumbnail will be generated.

Example:

dropbox.ResourcePath = "/My Photos/tree.jpg";
dropbox.LocalFile = "../../tree_thumb.jpg";
dropbox.ThumbnailSize = DropboxThumbnailSizes.dts128x128;
dropbox.GetThumbnail();

 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
Build 1.0.6240.0