ViewsNum Method

Returns the number of open windows for the specified ConceptDraw document.

Applies to: Document object

Syntax

[[Let] countRet =] object.ViewsNum ()

The ViewsNum method syntax has these parts:

Part Description
object Required. An expression that returns a Document object.
countRet Optional. A Long type variable.

Remarks

The ViewsNum returns a value equal to or greater than 1, as an open ConceptDraw document always has at least one window.

 

See Also

FirstView method, NextView method, ViewByID method, UpdateAllViews method