hwIWindow SetHTMLCaption

Sets the window caption used when exporting to HTML.

Syntax

hwIWindow_handle SetHTMLCaptioncaption

Application

HyperWorks Tcl Modify

Description

This parameter is used during HTML export.

Inputs

caption
The caption of the window in the HTML report.

Example

To set the HTML caption of window 1 on page 1 to "First Test":
hwi GetSessionHandle mySessionName
mySessionName GetProjectHandle myProject 
myProject GetPageHandle myPage 1
myPage GetWindowHandle myWindow 1
myWindow SetHTMLCaption "First Test"

Errors

Success (0) or an error code (see below).

3 = HW_InvalidHandle - The handle used to invoke the method is no longer valid.