<< Click to Display Table of Contents >>
Manual > Control Reference > Basics > View control > Methods >
Change the stretch mode.
syntax
SetStretch(
mode
)
Parameters
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
Boolean
FALSE - Failure. TRUE - Success.
Explanation
Supported
×
Script Action
Can be used in server script Ver2 actions
○
Browser script
Can be used in browser scripts
Calculation Expression Syntax
Can be used in expression syntax (e.g. bind syntax)
reference
OpenForm
GetCurrentBasedForm
GetCurrentForm
SetStretch
GetZoom
SetZoom
ResetZoom
TakeThumbnail
PrintThumbnail
GetFormHeight
GetFormWidth
GetDialogSize
KillCurrentFocus
MoveTabStop
RefreshTabOrder
OpenHomeForm
OpenPrevForm
OpenNextForm
IsHavePrevForm
IsHaveNextForm
ClearFormHistory
MoveWindow