Discuss this help topic in SecureBlackbox Forum

TElDropboxDataStorageObject.GetThumbnail

TElDropboxDataStorageObject     See also     


Filter: C#/Java  VB.NET  Pascal  C++  PHP  


Requests a thumbnail of the image.

Declaration

[C#/Java]
    void GetThumbnail(string Format, TSBDropboxImageSize Size, System.IO.Stream Stream);

[VB.NET]
    Sub GetThumbnail(ByVal Format As String, ByVal Size As TSBDropboxImageSize, ByVal Stream As System.IO.Stream)

[Pascal]
    procedure GetThumbnail(const Format : string; Size : TSBDropboxImageSize; Stream : TStream);

[C++]
    void GetThumbnail(const std::string &Format, TSBDropboxImageSize Size, TStream &Stream);
    void GetThumbnail(const std::string &Format, TSBDropboxImageSize Size, TStream *Stream);

[PHP]
    void GetThumbnail(string $Format, integer $Size, TStream $Stream)

Parameters

  • Format - specifies the thumbnail image format, jpeg or png; the default is jpeg.
  • Size - specifies the size of the thumbnail image. The actual size of the returned image may be different from the specified size, depending on the format and aspect ratio of the original image.
  • Stream - the stream where the thumbnail will be stored.

Possible values:


Description

    If the file is an image, use this method to fetch its thumbnail.

See also:     GetDirectLink     GetPreviewLink     ThumbExists    

Discuss this help topic in SecureBlackbox Forum