SetStretch

<< Click to Display Table of Contents >>

Manual > Control Reference > Basics > View control > Methods >

SetStretch


 

Change the stretch mode.

 


syntax

SetStretch(

         mode

         )

 


Parameters

mode

 

Type:

character

 

Stretch mode.

"NONE" - no stretching

"STRETCH_FULL" - Stretch to fit the size of the dialog.

"STRETCH_KEEPRATE" - Stretch the image to fit the size of the dialog (keep aspect ratio)

 

Return Value

 

 

Type:

Boolean

 

FALSE - Failure. TRUE - Success.

 


hmtoggle_plus1Explanation

 


Supported


×

Script Action

○

Browser script

×

Calculation Expression Syntax

 

 


reference