Type Property (Window object)

Read-only. Returns the window type.

Applies to: Window object

Syntax

[[Let] typeRet = ] object.Type

The Type property syntax has these parts:

Part Description
object Required. An expression that returns a Window object.
typeRetVal Optional. An Integer type variable.

Remarks

The Type determines the type of the window contents and respectively defines which properties and methods of the Window object are supported in the given instance of the Window object. The Type property for the Window object can take the following values:

Constant Value Description
cdDocView 1 The document editing window (document view).
cdTableView 2 The shape parameter table (table view).
cdLibView 3 The library window (library view).
cdBasicView 4 The ConceptDraw Basic script editor (basic editor view).

 

See Also

State property