HyperWorks Desktop

*MarkerCenter()

Indicates the location (in pixels) of a marker.

*MarkerCenter()

Indicates the location (in pixels) of a marker.

Previous topic Next topic No expanding text in this topic  

*MarkerCenter()

Indicates the location (in pixels) of a marker.

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

Syntax

*MarkerCenter(x_pos, y_pos)

Argument

Name

Description

 

x_pos

The x coordinate (in pixels) of the marker center.

 

y_pos

The y coordinate (in pixels) of the marker center.

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

MotionView and HyperView.

Context

*BeginVideo()

*BeginWindow()

Comments

If either x_pos or y_pos are negative, no marker is displayed.

See also

 

List of Session Statements