pltIDrawControl GetFontHandle

Gets a handle to an hwIFont interface for the draw control.

Syntax

pltIDrawControl_handle GetFontHandle iFont

Application

HyperWorks Tcl Query

Description

This method creates an interface and copies the pointer to it into this value. The caller is responsible for deleting it.

Returns 0 = HW_Success, 1 = HW_Error, or 3 = HW_InvalidHandle.

Inputs

iFont
A reference to an hwIFont pointer.

Example

To get a handle to a draw control:
hwi GetSessionHandle mySessionName
mySessionName GetProjectHandle myProjectName
myProjectName GetPageHandle myPageName
myPageName GetWindowHandle myWindowName
myWindowName GetClientHandle myPlotName
myPlotName GetDrawControlHandle myDrawControl
myDrawControl GetFontHandle draw_font

Errors

None.