Cloud Storage Integrator 2016 Delphi Edition
Cloud Storage Integrator 2016 Delphi Edition
Questions / Feedback?

GetThumbnail Method

Gets a thumbnail image.

Syntax


procedure 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) 2019 /n software inc. - All rights reserved.
Cloud Storage Integrator 2016 Delphi Edition - Version 16.0 [Build 7239]