hwISession SetCaptureMaintainBG

Sets the background color during image and screen capture.

Syntax

hwISession_handle SetCaptureMaintainBG mode

Application

HyperWorks Tcl Modify

Description

This command sets the background color during image and screen capture.

Inputs

mode
mode can be 'automatic' or 'maintain'.
'automatic'
Capture with white background.
'maintain'
Keep default background (WYSIWYG).

Example

hwi GetSessionHandle sess;
sess SetCaptureMaintainBG mode 'automatic';

Error

Returns success (0) or an error code.

Keywords

HyperWorks

Tcl

See Also

hwISession GetCaptureMaintainBG