|
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.
|
Explanation
Saves the screen to an image file. Unlike TakeScreenshot, it can capture the entire form in the image even if the whole form is not displayed due to the scroll bar.
However, I don't see WebControl as a limitation.
|
reference
GetBasedForm
GetDialogName
GetViewName
GetViewControl
GetOpenParam
SetOpenParam
IsOpenParam
GetDialogProperty
SetDialogProperty
GetDialogRect
GetDialogPos
GetDialogSize
MoveDialog
MoveTabStop
RefreshTabOrder
PrintScreenshot
TakeScreenshot
PrintThumbnail
TakeThumbnail
KillCurrentFocus
GetCurrentStretchMode
|