共用方式為


complexType) (Visio XML) (Windows_Type Window 元素

代表 Microsoft Visio 實例中開啟的視窗。 此元素包含當 Visio 一開始開啟檔案時,在應用程式工作區中完全重新建立使用者介面視窗所需的資訊。

元素資訊

項目類型
Window_Type
Namespace
http://schemas.microsoft.com/office/visio/2012/main
架構檔案
VisioSchema15.xsd
檔元件
windows.xml

定義

< xs:element name="Window" type="Window_Type" minOccurs="0" maxOccurs="unbounded" >
</xs:element >

項目和屬性

如果架構定義特定需求,例如 sequenceminOccursmaxOccurschoice,請參閱定義一節。

父元素

元素 類型 描述
Windows
Windows_Type
包含文件的 Window 元素。

子元素

元素 類型 描述
DynamicGridEnabled
DynamicGridEnabled_Type
指定是否啟用檔或視窗的動態網格線功能。
GlueSettings
GlueSettings_Type
指定在檔案中啟用黏附時,將黏附成圖形的物件。
ShowConnectionPoints
ShowConnectionPoints_Type
指定是否要在視窗中顯示連接點。
ShowGrid
ShowGrid_Type
指定是否要在繪圖視窗中顯示方格。
ShowGuides
ShowGuides_Type
指定是否要在繪圖視窗中顯示參考線。
ShowPageBreaks
ShowPageBreaks_Type
指定分頁符號是否顯示在視窗中。
ShowRulers
ShowRulers_Type
指定是否要在繪圖視窗中顯示尺規。
SnapAngles
SnapAngles_Type
包含 SnapAngle 元素的集合。
SnapExtensions
SnapExtensions_Type
指定啟用或停用活動視窗的特定貼齊延伸模組設定。
SnapSettings
SnapSettings_Type
指定當視窗中的貼齊作用中時,圖形貼齊的物件。
StencilGroup
StencilGroup_Type
指定視窗為其成員的合併樣板視窗群組。
StencilGroupPos
StencilGroupPos_Type
包含整數,指定視窗中群組內樣板的相對位置。
TabSplitterPos
TabSplitterPos_Type
指定繪圖視窗的頁面索引標籤寬度, (為繪圖視窗) 總寬度的一小部分。

屬性

屬性 類型 Required 描述 可能值
容器
xsd:unsignedInt
選用
容器的標識碼:頁面、工作表或主圖形。 只有在指定 ContainerType 時才需要相關且必要。 xsd:unsignedInt 類型的值。
ContainerType
xsd:token
選用
可能是下列其中一個值:文件、頁面或主圖形。 只有在 WindowType 指定為 Drawing 或 Sheet 時才相關。 xsd:token 類型的值。
Document
xsd:string
選用
這個視窗中顯示之檔案的檔案路徑。 xsd:string 類型的值。
識別碼
xsd:unsignedInt
必要
專案在其父元素內的唯一標識碼。 xsd:unsignedInt 類型的值。
主圖形
xsd:unsignedInt
選用
如果此視窗顯示主圖形,則為主要標識碼。 xsd:unsignedInt 類型的值。
頁面
xsd:unsignedInt
選用
如果此視窗顯示頁面,則為頁面標識碼。 只有在 WindowType 指定為 Drawing 且 ContainerType 指定為 Page 時才相關。 xsd:unsignedInt 類型的值。
ParentWindow
xsd:unsignedInt
選用
包含此樣板視窗的視窗識別碼。 只有在 WindowType 指定為樣板時才相關。 xsd:unsignedInt 類型的值。
ReadOnly
xsd:boolean
選用
如果此樣板不是文件樣板,則為唯讀旗標。 xsd:boolean 類型的值。
工作表
xsd:unsignedInt
選用
容器中工作表的標識碼。 只有在容器指定為 Sheet 時才相關。 xsd:unsignedInt 類型的值。
ViewCenterX
xsd:double
選用
ViewCenterXViewCenterY 會在頁面上指定新檢視 (視窗一開始開啟時) 假設的中心點。 xsd:double 類型的值。
ViewCenterY
xsd:double
選用
ViewCenterXViewCenterY 會在頁面上指定新檢視 (視窗一開始開啟時) 假設的中心點。 xsd:double 類型的值。
ViewScale
xsd:double
選用
當開啟頁面的新檢視 (視窗) 時,所要使用的預設放大因數。 例如,1 = 100%;1.5 = 150%,依此類推。 xsd:double 類型的值。
WindowHeight
xsd:unsignedInt
選用
視窗矩形的高度。 xsd:unsignedInt 類型的值。
WindowLeft
xsd:short
選用
視窗矩形的左座標。 xsd:short 類型的值。
WindowState
xsd:unsignedInt
選用
指定位旗標的整數。 xsd:unsignedInt 類型的值。
WindowTop
xsd:short
選用
視窗矩形的頂端座標。 xsd:short 類型的值。
WindowType
xsd:token
必要
可能為下列其中一項的列舉值:繪圖、工作表、樣板或圖示。 xsd:token 類型的值。
WindowWidth
xsd:unsignedInt
選用
視窗矩形的寬度。 xsd:unsignedInt 類型的值。