<Windows> element

<Windows> element

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

Contains the Window elements for a document.

Syntax

  <Windows
      [ClientWidth = "intval"]
      [ClientHeight = "intval"]>
  </Windows>

Attributes

ClientWidth

Optional int.

ClientHeight

Optional int.

Element information

Parent elements:

VisioDocument

Child elements:

Window (optional)

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\Visio10\1033\Solutions\Visio Extras\Backgrounds (US units).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\Visio10\1033\Solutions\Visio Extras\Borders and Titles (US units).vss" ParentWindow="0">
</Window>
</Windows>

See also

Windows collection