hwIWindow SetHTMLOutputType

Sets the window caption used when exporting to HTML.

Syntax

hwIWindow_handle SetHTMLOutputType type

Application

HyperWorks Tcl Modify

Description

This parameter is used during HTML export. It indicates the type of the object created when you click on this window in the HTML report. Not all options are supported by every client.

Inputs

type
The output type of the window. Can be "avi", "jpeg", "h3d", "bitmap", or "html", depending on the client type.

Example

To set the HTML output type of window 1 on page 1 to h3d:
hwi GetSessionHandle mySessionName
mySessionName GetProjectHandle myProject 
myProject GetPageHandle myPage 1
myPage GetWindowHandle myWindow 1
myWindow SetHTMLOutputType h3d

Errors

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

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

HW_InvalidArgs - The value of argument type is invalid for the window’s client type.