vidIVideo SetMeasurePoint1

Sets the first point of the measuring line.

Syntax

vidIVideo_handle SetMeasurePoint1 x y

Application

Tcl Modify

Description

This command sets the first point of the line drawn for measuring within the video.
Note: You must use SetMeasurePoint2 and DrawMeasure to draw the line.

Inputs

x
The x value (in pixels) that you want to make the first measure point.
y
The y value (in pixels) that you want to make the first measure point.

Example

hwi GetSessionHandle sess;
sess GetProjectHandle proj;
proj GetPageHandle p1 1;
p1 GetWindowHandle w1 1;	
w1 GetClientHandle Video;
Video SetMeasurePoint1 400 68;
Video SetMeasurePoint2 600 68;
Video DrawMeasure;

Errors

Success (0) or an error message is returned.

Keywords

  • Tcl
  • Video
  • Modify