*Stretch()
Indicates if the image is displayed in the entire display window or as its actual size.
Syntax
*Stretch (0/1)
Application
MediaView
Inputs
- 0/1
-
- 0
- Stretch is ‘off’ (The image displayed is the actual size).
- 1
- Stretch is ‘on’ (The image is stretched to fill the window).
Context
*BeginVideo()
*BeginWindow()
Example
*BeginWindow(Video)
*IsActive()
*BeginVideo()
*Preferences(0, 0, 0, 0)
*OverlaySettings(1, 10, 0)
*LoadImage("D:/AMF_AVI/24car.bmp")
*ZoomRect(292, 128, 534, 310)
*Stretch(0)
*MarkerCenter(345, 254)
*BeginHeader(On)
*PrimaryFont("Arial", 0, 0, 14)
*SecondaryFont("Arial", 0, 0, 10)
*TertiaryFont("Arial", 0, 0, 10)
*Color(1)
*Text("Video File Two")
*EndHeader()
*BeginFooter(On)
*PrimaryFont("Arial", 0, 0, 10)
*SecondaryFont("Arial", 0, 0, 10)
*TertiaryFont("Arial", 0, 0, 10)
*Color(1)
*Text("Crash Test")
*EndFooter()
*EndVideo()
*EndWindow()
Comments
Stretching an image maintains the aspect ratio for that image.