Windows Element

Contains the Window elements for a document.

Syntax


<Windows
    [ClientWidth]
    [ClientHeight]>
</Windows>

Attributes

ClientWidth

Optional int.

ClientHeight

Optional int.

Element properties

PropertyValue
NameWindows 
Minimum Occurrences
Maximum Occurrences

Element information

Parent elements

VisioDocument

Child elements

Window

Example

The following example is from a document containing three window elements: the main drawing page and two stencils.

The example has been excerpted for clarity.

<Windows ClientWidth="1024" ClientHeight="625">
  <Window ID="0" WindowType="Drawing" WindowState="1073741824" WindowLeft="-4" WindowTop="-23" WindowWidth="1032" WindowHeight="652" ContainerType="Page" Page="2" ViewScale="1" ViewCenterX="4.25" ViewCenterY="8.390625">
   …
  </Window>
  <Window ID="1" WindowType="Stencil" WindowState="67109889" WindowLeft="-195" WindowTop="-1" WindowWidth="187" WindowHeight="623" Document="C:\Program Files\Microsoft Office\Visio11\\BASKGR_U.vss" ParentWindow="0">
   …
  </Window>
  <Window ID="2" WindowType="Stencil" WindowState="1025" WindowLeft="-195" WindowTop="-1" WindowWidth="187" WindowHeight="623" Document="C:\Program Files\Microsoft Office\Visio11\\BORDER_U.vss" ParentWindow="0">
   … 
  </Window>
</Windows>

See also

Windows collection

©2003-2004 Microsoft Corporation. All rights reserved. Permission to copy, display and distribute this document is available at: http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp