amfIMarker SetTrackPoint

Sets the initial X and Y coordinates of the marker, in pixels.

Syntax

marker_handle SetTrackPointx_coord y_coord

Description

Sets the X and Y coordinates of the marker’s initial position, in pixels. Using this function will turn on the “recalc_marker” flag (see Sections 9.23 and 9.34 – amfIMarker::GetRecalcState and amfIMarker::SetRecalcState for more information.)

Inputs

x_coord
The x coordinate.
y_coord
The y coordinate.

Example

marker_handle SetTrackPoint 150 200

Errors

Standard hwResult error codes:
  • 1 = HW_Error
  • 3 = HW_InvalidHandle
  • 4 = HW_InvalidArgs