poITextAttribute SetHeight

Sets the text height in pixels.

Syntax

poITextAttribute_handle SetHeightvalue

Application

HyperView Tcl Modify

Description

This command sets the text height in pixels.

Inputs

value
The height value to be set.

Example

To set the height of the contour title to 25:
hwi GetSessionHandle mySessionName
mySessionName GetProjectHandle myProjectName
set pageIndex [myProjectName GetActivePage]
myProjectName GetPageHandle myPageName $pageIndex
set windowIndex [myPageName GetActiveWindow] 	
myPageName GetWindowHandle myWindowName $windowIndex	
myWindowName GetClientHandle myPostName
set modelIndex [myPostName GetActiveModel]
myPostName GetModelHandle myModelName $modelIndex 
myModelName GetResultCtrlHandle myResultName
myResultName GetContourCtrlHandle myContourName
myContourName GetLegendHandle myLegendName
myLegendName GetTitleAttributeHandle myTitleName
myTitleName SetHeight 25

Error

Returns 0 if successful, or an error code (HW_InvalidHandle) if the handle used to invoke the method is no longer valid.