PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Properties specific to the description of gglThumbnail variables
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
The gglThumbnail type represents a thumbnail of a Google Picasa photo. The characteristics of this type of variable can be retrieved by several WLanguage properties.
Note: See Declaring a variable for more details.
Example
// Connection to Google
Cnt is gglConnection
Cnt..Email = "vince@gmail.com"
Cnt..Password = "scrooge"
Cnt..ApplicationName = "MyApp-01"
IF GglConnect(Cnt) = False THEN
Error(ErrorInfo())
END

// Retrieve the array of available albums
arrAlbum is array of gglAlbum
arrAlbum = GglListAlbum(Cnt)

// Retrieve the thumbnails from the first album
GglFillAlbum(Cnt, arrAlbum[1], gglWithThumbnail)

// Display a thumbnail in an Image control
IMG_ImageControl = arrAlbum[1]..Media..Thumbnail[1]..Image
Remarks

Properties specific to the description of gglThumbnail variables

The following properties can be used to handle a thumbnail of a Google Picasa photo:
NameType usedEffect
HeightIntegerHeight of the thumbnail expressed in pixels.
This property is available in read-only.
ImageImageImage of the thumbnail. This property corresponds to an empty string by default.
To retrieve a thumbnail, GglFillPhoto must be used to retrieve the thumbnails of the photo. Then, this photo can be saved (fSaveText) or displayed in an Image control.
WidthIntegerWidth of the thumbnail expressed in pixels.
This property is available in read-only.
URLCharacter stringURL used to download the thumbnail.
This property is available in read-only.
Note: These properties can be used with one of the following syntaxes:
  • <Variable Name>..<Property Name>
  • <Variable Name>.<Property Name>
Minimum required version
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment