TakeThumbnail

<< Click to Display Table of Contents >>

Manual > Control Reference > Form Controls > Methods >

TakeThumbnail


 

Save the entire screen to an image file.

 


syntax

TakeThumbnail(

         fileName

         [,fileFormat = "bmp"]

         [,width = -1]

         [,height = -1]

         [,visualTheme]

         )

 


Parameters

 

fileName

 

Type:

character

 

The image file name.

 

fileFormat

 

Type:

character

 

The file format to save in.

"bmp" - bitmap files

"jpg" - jpeg file

 

width

 

Type:

Number

 

Image width in pixels. -1 means true size.

 

height

 

Type:

Number

 

Image height in pixels. -1 means native size.

 

visualTheme

 

Type:

character

 

Specify the visual theme when saving the image. For example, if the visual theme displayed is black, printing black consumes a large amount of ink, so you can specify a visual theme such as "WHITE" only when outputting.

 

Return Value

 

 

Type:

Boolean

 

FALSE - Failure. TRUE - Success.

 

 


hmtoggle_plus1Explanation

 


reference