poITextAttribute SetVerticalAlignment

Sets the font vertical alignment.

Syntax

poITextAttribute_handle SetVerticalAlignment align

Application

HyperView Tcl Modify

Description

This command sets the font vertical alignment.

Inputs

align
The vertical alignment for the text. Options include: "top", "center", and "bottom".

Example

To center the text horizontally:
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 SetVerticalAlignment center

Errors

Returns 0 if successful, otherwise an error code.