SubType property

Microsoft Visio Developer Reference

SubType property

   Example   

Returns the subtype of a Window object that represents a drawing window.

Version added

4.0

Syntax

intRet = object.SubType

intRet

Integer. The subtype of the Window object.

object

Required. An expression that returns a Window object.

Remarks

If the Type property of a Window object returns any value other than visDrawing, the SubType property returns the same value as the Type property. If the Type property of a Window object returns visDrawing, the SubType property returns one of the following values.

Constant

Value

Description

visPageWin

128

A drawing window showing a page.

visPageGroupWin

160

A group editing window of a group on a page.

visMasterWin

64

A master drawing page window.

visMasterGroupWin

96

A group editing window of a group in a master.