Discuss this help topic in SecureBlackbox Forum

TElDropboxDataStorage.GetThumbnail

TElDropboxDataStorage     See also     


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


Requests a thumbnail of an image.

Declaration

[C#]
    void GetThumbnail(string Path, string ImageFormat, TSBDropboxImageSize Size, System.IO.Stream Stream);
    void GetThumbnail(TElDropboxDataStorageObject Obj, string Format, TSBDropboxImageSize Size, System.IO.Stream Stream);

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

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

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

[PHP]
    void GetThumbnail(string $Path, string $ImageFormat, integer $Size, TStream $Stream)
    void GetThumbnail(TElDropboxDataStorageObject $Obj, string $Format, integer $Size, TStream $Stream)

[Java]
    void getThumbnail(String Path, String ImageFormat, TSBDropboxImageSize Size, TElStream Stream);
    void getThumbnail(TElDropboxDataStorageObject Obj, String Format, TSBDropboxImageSize Size, TElStream Stream);

Parameters

  • Format - specifies the thumbnail image format, jpeg or png; the default is jpeg.
  • Obj - the file for which the thumbnail is requested.
  • Path - the path to the file for which the thumbnail is requested.
  • 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.
  • ImageFormat - ...

Possible values:

Description

    Use this method to fetch a thumbnail of the specified image.

See also:     GetDirectLink     GetPreviewLink    

Discuss this help topic in SecureBlackbox Forum