HyperWorks Desktop

*ZoomRect()

Indicates the display coordinates (in pixels) for the window.

*ZoomRect()

Indicates the display coordinates (in pixels) for the window.

Previous topic Next topic No expanding text in this topic  

*ZoomRect()

Indicates the display coordinates (in pixels) for the window.

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

Syntax

*ZoomRect(upr_left_x, upr_left_y, lwr_right_x, lwr_right_y)

Argument

Name

Description

 

upr_left_x

The x-pixel position of the upper left corner of the display rectangle.

 

upr_left_y

The y-pixel position of the upper left corner of the display rectangle.

 

lwr_right_x

The x-pixel position of the lower right corner of the display rectangle.

 

lwr_right_y

The y-pixel position of the lower right corner of the display rectangle.

Example

*BeginWindow(Video)

       *IsActive()

       *BeginVideo()

           *Preferences(0, 0, 0, 0)

           *OverlaySettings(1, 10, 0)

           *BeginNote(On, "Note 2")

               *Position(0.642254, 0.309429)

               *Text("Video File One")

               *Font("", 0, 0, 20)

               *Color(1)

               *BorderWidth(1)

               *NoteAlignment(Left)

           *EndNote()

           *LoadVideo("D:/AMF_AVI/filterrhomb1.amf")

           *LoadOverlay("D:/AMF_AVI/filterrhomb2.amf")

           *ZoomRect(0, 0, 450, 315)

           *Stretch(1)

           *MarkerCenter(-1, -1)

           *BeginHeader(On)

               *PrimaryFont("Arial", 0, 0, 14)

               *SecondaryFont("Arial", 0, 0, 10)

               *TertiaryFont("Arial", 0, 0, 10)

               *Color(1)

           *EndHeader()

       *EndVideo()

*EndWindow()

Application

MediaView.

Context

*BeginVideo().

*BeginWindow()

See also

 

List of Session Statements