*MarkerCenter()

Indicates the location (in pixels) of a marker.

Syntax

*MarkerCenter (x_pos, y_pos)

Application

MotionView and HyperView

Inputs

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

Context

*BeginVideo()

*BeginWindow()

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()

Comments

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