TakeScreenshot

<< Click to Display Table of Contents >>

Manual > Control Reference > Route > Route Methods >

TakeScreenshot


 

Save the main view screen to an image file.

 


syntax

TakeScreenshot(

         fileName

         [,fileFormat = "bmp"]

         [,width = -1]

         [,height = -1]

         )

 


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 true size.

 

Return Value

 

 

Type:

Boolean

 

FALSE - Failure. TRUE - Success.

 

 


hmtoggle_plus1Explanation

 


reference