Window Class

Represents an open window in a Microsoft Visio instance. This element contains information necessary to exactly re-create a user interface window in the application workspace when the DatadiagramML file is initially opened by Visio.
Inheritance Hierarchy
SystemObject
  Aspose.DiagramWindow

Namespace:  Aspose.Diagram
Assembly:  Aspose.Diagram (in Aspose.Diagram.dll) Version: 20.3.0.0 (20.3)
Syntax
public class Window

The Window type exposes the following members.

Constructors
  NameDescription
Public methodWindow
Constructor.
Properties
  NameDescription
Public propertyContainer
ID of container: Page, Sheet, or Master. Only relevant and necessary if ContainerType is specified.
Public propertyContainerType
May be one of the following values: Document, Page, or Master. Only relevant when WindowType is specified as Drawing or Sheet.
Public propertyDocument
File path of the document displayed in this window. This attribute is relevant for windows whose WindowType is specified as Stencil.
Public propertyDynamicGridEnabled
Specifies whether the dynamic grid feature is enabled for a document or window.
Public propertyGlueSettings
Specifies the objects that shapes glue to when glue is enabled in the document.
Public propertyID
The unique ID of the element within its parent element.
Public propertyMaster
Master ID if this window is displaying a master.
Public propertyPage
Page ID if this window is displaying a page. Relevant only when WindowType is specified as Drawing and ContainerType is specified as Page.
Public propertyParentWindow
ID of window in which this stencil window is contained. Relevant only when WindowType is specified as Stencil.
Public propertyReadOnly
Read-only flag if this stencil is not a document stencil.
Public propertySheet
ID of sheet in container. Relevant only when Container is specified as Sheet.
Public propertyShowConnectionPoints
Specifies whether connection points are shown in a window.
Public propertyShowGrid
Specifies whether a grid is shown in the drawing window.
Public propertyShowGuides
Specifies whether guides are shown in the drawing window.
Public propertyShowPageBreaks
Specifies whether page breaks are shown in a window.
Public propertyShowRulers
Specifies whether rulers are shown in the drawing window.
Public propertySnapAngles
Contains a collection of SnapAngle elements.
Public propertySnapExtensions
Specifies whether a specific snap extension setting is enabled or disabled for the active window. The value can be a sum of the values in the following table.
Public propertySnapSettings
Specifies the objects that shapes snap to when snap is active in the window. The value may be a sum of the values in the following table.
Public propertyStencilGroup
Specifies the group of merged stencil windows of which the window is a member. This attribute is relevant only for Window elements whose WindowType attribute is Stencil, and only if the stencil window is part of a merged group of stencil windows. All stencil windows that are part of the same merged group have the same StencilGroup element value.
Public propertyStencilGroupPos
Contains an integer that specifies the relative position of a stencil within a group in a window.
Public propertyTabSplitterPos
Specifies the width of the page tab control of a drawing window (as a fraction of the total width of the drawing window).
Public propertyViewCenterX
Optional double.
Public propertyViewCenterY
Optional double.
Public propertyViewScale
Optional double.
Public propertyWindowHeight
Height of the window rectangle.
Public propertyWindowLeft
Left coordinate of the window rectangle.
Public propertyWindowState
This attribute can be a sum of the following values.
Public propertyWindowTop
Top coordinate of the window rectangle.
Public propertyWindowType
An enumerated value that may be one of the following: Drawing, Sheet, Stencil, or Icon.A Window element of WindowType='Stencil' must appear after its parent drawing window (WindowType='Drawing') and before any other drawing window elements.
Public propertyWindowWidth
Width of the window rectangle.
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
See Also