TakeImageFile

<< Click to Display Table of Contents >>

Manual > Control Reference > Data > Chart Ver2 control > Method >

TakeImageFile


 

Save the main view screen to an image file.

 


syntax

TakeImageFile(

         fileName

         [,fileFormat = "bmp"]

         [,width = -1]

         [,height = -1]

         [,zoom = F]

         )

 


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.

 

zoom

 

Type:

Boolean

 

TRUE - If the size is different from the screen size, it will be scaled based on the original screen size.

FALSE- If the size is different from the screen size, a new graph will be drawn on the specified screen size.

 

Return Value

 

 

Type:

Boolean

 

FALSE - Failure. TRUE - Success.

 

 

 


reference