SetStretch

<< Click to Display Table of Contents >>

Manual > Control Reference > Route > Route Methods >

SetStretch


 

Change the stretch mode.

 


syntax

SetStretch(

         viewName,

         mode

         )

 


Parameters

 

viewName

 

Type:

character

 

Specify the target view name. The view name to specify is"About form names and view names"See.

 

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)

"DEFAULT" - Same as the default value (main view's Stretch state)

 

Return Value

 

 

Type:

Boolean

 

FALSE - Failure. TRUE - Success.

 


hmtoggle_plus1Explanation

 


Supported


×

Script Action

○

Browser script

×

Calculation formula syntax

 

 


reference