Advertising banner:

History
 
 ServerFile.Thumbnail
Home • Help • A0 • Customization Tools • FCAS • Language Reference • ServerFile.Thumbnail
 
Thumbnail (server files)
Minimum version: 4.0
Purpose
Returns or generates a thumbnail image in the resource fork as expected by the server for a file on the FirstClass server.
The default size is 64x64.
Syntax
ServerFile.Thumbnail [(Width, Height) | = BinaryData.Data]


Width
The width of the thumbnail in pixels.
Height
The height of the thumbnail in pixels.
BinaryData
Any binary variable.

Example
Dim f as File
Dim sf as ServerFile
f.OpenFile("c:\chart.png",fcRead)
f.Read(30000)
sf.CreateFile("FCAS Config|TestThumb",35)
sf.Thumbnail = f.Data
sf.CloseFile