poITextAttribute SetFont

Sets the font by name.

Syntax

poITextAttribute_handle SetFontfont_name

Application

HyperView Tcl Modify

Description

This command sets the font by name.

Inputs

font_name
The name of the font.

Example

To set the font name to "Arial":
hwi GetSessionHandle mySessionName
mySessionName GetProjectHandle myProjectName
myProjectName GetPageHandle myPageName 1
myPageName GetWindowHandle myWinName 1
myWinName GetClientHandle myClientName
myClientName GetLegendHandle myLegendName 1
myLegendName GetHeaderAttributeHandle myAttrName
myAttrName SetFont "Arial"

Errors

Returns 0 if successful, otherwise an error code.