Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
| Visio Viewer |
The Microsoft Office Visio 2007 Viewer is a programmable ActiveX control that enables you to display Microsoft Office Visio drawings (with limited functionality) on Web pages and in Microsoft Windows forms, so that users who do not have Visio installed may view and interact with them.
Methods
| Name | Description | |
|---|---|---|
![]() |
DisplayAbout | Displays the About Microsoft Office Visio Viewer dialog box in Microsoft Office Visio 2007 Viewer. |
![]() |
DisplayContextMenu | Displays the context menu for the Microsoft Office Visio 2007 Viewer at the specified screen coordinates, in pixels. |
![]() |
DisplayHelp | Displays the Help topic that has the specified ID in the Microsoft Office Visio 2007 Viewer. |
![]() |
DisplayPropertyDialog | Displays the Properties and Settings dialog box at the specified screen coordinates, in pixels, in the Microsoft Office Visio 2007 Viewer. |
![]() |
FollowHyperlink | Follows the hyperlink at the specified index in the specified shape in the Microsoft Office Visio 2007 Viewer. |
![]() |
GetErrorMessage | Returns a string that describes the specified error message code in the Microsoft Office Visio 2007 Viewer. |
![]() |
GetPageView | Gets the position and zoom factor (size) of the drawing page in the Microsoft Office Visio 2007 Viewer. |
![]() |
Load | Loads a drawing file into the Microsoft Office Visio 2007 Viewer. |
![]() |
Pan | Moves the page, horizontally or vertically, by the specified coordinate values, in pixels, in the Microsoft Office Visio 2007 Viewer. |
![]() |
SelectShape | Selects the specified shape in the drawing that is open in the Microsoft Office Visio 2007 Viewer. |
![]() |
SetPageView | Sets the position and zoom factor (size) of the drawing page in the Microsoft Office Visio 2007 Viewer. |
![]() |
Unload | Unloads the drawing file open in the Microsoft Office Visio 2007 Viewer. |
![]() |
ZoomToPoint | Resizes the drawing open in the Microsoft Office Visio 2007 Viewer to the specified percent of its previous size and places the upper left corner of the drawing at the specified point, in pixels, in the Viewer window in the coordinate frame of the Viewer window. |
![]() |
ZoomToRect | Zooms to display a rectanglular section, specified by the parameters, of the drawing open in the Microsoft Office Visio 2007 Viewer. |
Properties
| Name | Description | |
|---|---|---|
![]() |
AlertsEnabled | Gets or sets a value that indicates whether warnings and alerts appear when an error occurs in Microsoft Office Visio 2007 Viewer. Read/write. |
![]() |
BackColor | Gets or sets the background color of Microsoft Office Visio 2007 Viewer. Read/write. |
![]() |
BuildNumber | Gets the build number of Microsoft Office Visio 2007 Viewer. Read-only. |
![]() |
ContextMenuEnabled | Gets or sets a value that indicates whether the context (right-click) menu is enabled in Microsoft Office Visio 2007 Viewer. Read/write. |
![]() |
CurrentPageIndex | Gets or sets the index of the displayed page when a drawing opens in Microsoft Office Visio 2007 Viewer. Read/write. |
![]() |
CustomPropertyCount | Gets the count of shape data items (custom properties) assigned to the specified shape in Microsoft Office Visio 2007 Viewer. Read-only. |
![]() |
CustomPropertyName | Gets the name of the shape data item (custom property) at the specified index position for the specified shape in Microsoft Office Visio 2007 Viewer. Read-only. |
![]() |
CustomPropertyValue | Gets the value of the shape data item (custom property) at the specified index position for the specified shape in Microsoft Office Visio 2007 Viewer. Read-only. |
![]() |
DocumentLoaded | Gets a value that indicates whether a document is loaded in Microsoft Office Visio 2007 Viewer. Read-only. |
![]() |
GridVisible | Gets or sets a value that indicates whether the page grid is visible in Microsoft Office Visio 2007 Viewer. Read/write. |
![]() |
HighQualityRender | Gets or sets a value that indicates whether high-quality rendering is enabled in Microsoft Office Visio 2007 Viewer. Read/write. |
![]() |
HyperlinkAddress | Gets the address of the specified hyperlink associated with the specified shape in the drawing open in Microsoft Office Visio 2007 Viewer. Read-only. |
![]() |
HyperlinkCount | Gets the count of hyperlinks associated with the shape at the specified index in the document open in Microsoft Office Visio 2007 Viewer. Read-only. |
![]() |
LastErrorCode | Gets the last error code returned by Microsoft Office Visio 2007 Viewer. Read-only. |
![]() |
LayerColor | Gets or sets the color of the layer at the specified index position in the current drawing open in Microsoft Office Visio 2007 Viewer. Read/write. |
![]() |
LayerColorOverride | Gets or sets a value that indicates whether the color of the specified layer is reset to the default color in the current drawing in Microsoft Office Visio 2007 Viewer. Read/write. |
![]() |
LayerColorTrans | Gets or sets the transparency of the color of the layer at the specified index in the current drawing in Microsoft Office Visio 2007 Viewer. Read/write. |
![]() |
LayerCount | Gets the count of the number of layers in the current drawing open in Microsoft Office Visio 2007 Viewer. Read-only. |
![]() |
LayerDeleted | Gets a value that indicates whether the layer at the specified index in the drawing open in Microsoft Office Visio 2007 Viewer is deleted. Read-only. |
![]() |
LayerName | Gets the name of the layer at the specified index in the drawing open in Microsoft Office Visio 2007 Viewer. Read-only. |
![]() |
LayerVisible | Gets or sets a value indicating whether the specified layer is visible in the drawing open in Microsoft Office Visio 2007 Viewer. Read/write. |
![]() |
MajorVersionNumber | Gets the major version number of the Microsoft Office Visio 2007 Viewer. Read-only. |
![]() |
MarkupOverlaysVisible | Gets or sets whether markup overlays are visible in the current document open in the Microsoft Office Visio 2007 Viewer. Read/write. |
![]() |
MinorVersionNumber | Gets the minor version number of the Microsoft Office Visio 2007 Viewer. Read-only. |
![]() |
PageColor | Gets or sets the color of the page in the current drawing open in the Microsoft Office Visio 2007 Viewer. Read/write. |
![]() |
PageCount | Gets the number of pages in the current document open in the Microsoft Office Visio 2007 Viewer. Read-only. |
![]() |
PageIDToIndex | Gets the index of the specified page in the collection of pages in the drawing open in the Microsoft Office Visio 2007 Viewer. Read-only. |
![]() |
PageIndexToID | Gets the ID of the page at the specified index in the collection of pages in the drawing open in the Microsoft Office Visio 2007 Viewer. Read-only. |
![]() |
PageName | Gets the name of the specified page in the drawing open in the Microsoft Office Visio 2007 Viewer. Read-only. |
![]() |
PageTabsVisible | Gets or sets whether page tabs are visible in the Microsoft Office Visio 2007 Viewer. Read/write. |
![]() |
PageVisible | Gets or sets whether the drawing page is visible in the Microsoft Office Visio 2007 Viewer. Read/write. |
![]() |
ParentShape | Gets the index number of the parent shape of the specified shape in the drawing open in the Microsoft Office Visio 2007 Viewer. Read-only. |
![]() |
PropertyDialogEnabled | Gets or sets whether the Properties and Settings dialog box is available in the user interface for the Microsoft Office Visio 2007 Viewer. Read/write. |
![]() |
ReviewerColor | Gets the color of the markup overlay that is associated with the specified reviewer in the drawing open in the Microsoft Office Visio 2007 Viewer. Read-only. |
![]() |
ReviewerCount | Gets the count of reviewers in the current document open in the Microsoft Office Visio 2007 Viewer. Read-only. |
![]() |
ReviewerID | Gets the ID of the specified reviewer in the drawing open in the Microsoft Office Visio 2007 Viewer. Read-only. |
![]() |
ReviewerInitial | Gets the initials of the specified reviewer in the drawing open in the Microsoft Office Visio 2007 Viewer. Read-only. |
![]() |
ReviewerMarkupVisible | Gets or sets whether markup of the specified reviewer is visible in the drawing open in the Microsoft Office Visio 2007 Viewer. Read/write. |
![]() |
ReviewerName | Gets the name of the specified reviewer in the drawing open in the Microsoft Office Visio 2007 Viewer. Read-only. |
![]() |
ScrollbarsVisible | Gets or sets whether the scrollbars are visible in the Microsoft Office Visio 2007 Viewer. Read/write. |
![]() |
SelectedShapeIndex | Gets the index in the collection of shapes of the selected shape in the drawing open in the Microsoft Office Visio 2007 Viewer. Read-only. |
![]() |
ShapeAtPoint | Gets the ID of the shape in the drawing open in the Microsoft Office Visio 2007 Viewer, at the specified point in the Viewer window, in the coordinate system of the Viewer window, measured in pixels. Read-only. |
![]() |
ShapeCount | Gets the count of shapes in the drawing open in the Microsoft Office Visio 2007 Viewer. Read-only. |
![]() |
ShapeIDToIndex | Gets the index in the collection of shapes of the shape with the specified ID in the drawing that is open in the Microsoft Office Visio 2007 Viewer. Read-only. |
![]() |
ShapeIndexToID | Gets the ID of the shape at the specified index position in the collection of shapes in the drawing that is open in the Microsoft Office Visio 2007 Viewer. Read-only. |
![]() |
ShapeName | Gets the name of the shape at the specified index in the collection of shapes in the drawing open in the Microsoft Office Visio 2007 Viewer. Read-only. |
![]() |
SRC | Gets or sets the path to the source file for the drawing in the Microsoft Office Visio 2007 Viewer. Read/write. |
![]() |
SubShapeAtPoint | Gets the ID of the subshape in the drawing open in the Microsoft Office Visio 2007 Viewer, at the specified point in the Viewer window, in the coordinate system of the Viewer window, in pixels. Read-only. |
![]() |
ToolbarButtons | Gets or sets the buttons available in the toolbar in the Microsoft Office Visio 2007 Viewer. Read/write. |
![]() |
ToolbarCustomizable | Gets or sets whether it is possible to customize the toolbar in the Microsoft Office Visio 2007 Viewer. Read/write. |
![]() |
ToolbarVisible | Gets or sets whether the toolbar is visible in the Microsoft Office Visio 2007 Viewer. Read/write. |
![]() |
Zoom | Gets or sets the zoom, in percent, for the Microsoft Office Visio 2007 Viewer. Read/write. |
Events
| Name | Description | |
|---|---|---|
![]() |
OnDocumentLoaded | Occurs after a document is loaded into the Microsoft Office Visio 2007 Viewer. |
![]() |
OnDocumentUnloaded | Occurs after the current document in the Microsoft Office Visio 2007 Viewer is unloaded. |
![]() |
OnLayerChanged | Occurs when a layer is changed in the document open in the Microsoft Office Visio 2007 Viewer. |
![]() |
OnMarkupOverlaysVisibleChanged | Occurs when the visibility of markup overlays changes in the Microsoft Office Visio 2007 Viewer. |
![]() |
OnPageChanged | Occurs when the active page is changed in the Microsoft Office Visio 2007 Viewer. |
![]() |
OnReviewerChanged | Occurs when the visibility of a particular reviewer's markup (comments) is changed in the Microsoft Office Visio 2007 Viewer. |
![]() |
OnSelectionChanged | Occurs when the shape selection is changed in the Microsoft Office Visio 2007 Viewer. |
![]() |
OnToolbarCustomized | Occurs when the user customizes the Microsoft Office Visio 2007 Viewer toolbar by adding or removing buttons. |
![]() |
OnViewChanged | Occurs when the view of the current page is changed in the Microsoft Office Visio 2007 Viewer. |
.gif)
.gif)
.gif)