vidIVideo SetMeasurePoint1Y
Sets the y coordinate of the first point of a static measure.
Syntax
vidIVideo_handle SetMeasurePoint1Y index y
Application
Tcl Modify
Description
This command sets the y coordinate of the first point of the measure object referenced by the given index.
Inputs
- index
- The index of the measure to be changed.
- 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 AddMeasure static;
Video SetMeasurePoint1X 1 400;
Video SetMeasurePoint1Y 1 68;
Video SetMeasurePoint2X 1 600;
Video SetMeasurePoint2Y 1 68;
Video DrawMeasure;
Error
Success (0) or an error message is returned.