amfIMarker GetFontHandle

Returns a font handle.

Syntax

amfiMarker_handleGetFontHandle iFont

Type

HyperWorks Tcl Query

Description

This method obtains a font handle which can be used to change the style, size, and color of the font used in marker annotations.

Inputs

iFont
A reference to an hwIFont pointer.

Examples

hwi OpenStack;
hwi GetSessionHandle sess1;
sess1 GetProjectHandle proj;
proj GetPageHandle page1;
page1 GetWindowHandle win1 1;
win1 GetClientHandle vid
vid AddMovie "c:/video/Marker/data/barrier0411.amf"
vid AddTrackingMarker mark1;
mark1 SetTrackPoint 84 122;
mark1 SetName Hello1
vid AddTrackingMarker mark2;
mark2 SetTrackPoint 282 178;
mark2 SetName Hello2
vid CalculateTrackingData;
mark1 GetFontHandle mfont;
hwi CloseStack;

Errors

Returns success or an error code.