Table of contents
-
Microsoft Visio Developer Reference
- Microsoft Visio Developer Reference
- What's new in Microsoft Visio 2002 for developers
-
Automation Reference
- Visio object model
- Conceptual Information
-
Common Tasks
- Add a macro or add-on to a shape's shortcut menu
- Associate a macro or add-on with the double-click behavior of a shape
- Change the developer settings for Microsoft Visio
- Run a macro or add-on from the Macros dialog box
- Start the Visual Basic Editor
- View Visio object, property, method, event, and constant descriptions
-
Events
- Event codes
- AfterModal event
- AfterResume event
- AppActivated event
- AppDeactivated event
- AppObjActivated event
- AppObjDeactivated event
- BeforeDocumentClose event
- BeforeDocumentSave event
- BeforeDocumentSaveAs event
- BeforeMasterDelete event
- BeforeModal event
- BeforePageDelete event
- BeforeQuit event
- BeforeSelectionDelete event
- BeforeShapeDelete event
- BeforeShapeTextEdit event
- BeforeStyleDelete event
- BeforeSuspend event
- BeforeWindowClosed event
- BeforeWindowPageTurn event
- BeforeWindowSelDelete event
- CellChanged event
- ConnectionsAdded event
- ConnectionsDeleted event
- ConvertToGroupCanceled event
- DesignModeEntered event
- DocumentAdded event
- DocumentChanged event
- DocumentCloseCanceled event
- DocumentCreated event
- DocumentOpened event
- DocumentSaved event
- DocumentSavedAs event
- EnterScope event
- ExitScope event
- FormulaChanged event
- MarkerEvent event
- MasterAdded event
- MasterChanged event
- MasterDeleteCanceled event
- MustFlushScopeBeginning event
- MustFlushScopeEnded event
- NoEventsPending event
- OnKeystrokeMessageForAddon event
- PageAdded event
- PageChanged event
- PageDeleteCanceled event
- QueryCancelConvertToGroup event
- QueryCancelDocumentClose event
- QueryCancelMasterDelete event
- QueryCancelPageDelete event
- QueryCancelQuit event
- QueryCancelSelectionDelete event
- QueryCancelStyleDelete event
- QueryCancelSuspend event
- QueryCancelUngroup event
- QueryCancelWindowClose event
- QuitCanceled event
- RunModeEntered event
- SelectionAdded event
- SelectionChanged event
- SelectionDeleteCanceled event
- ShapeAdded event
- ShapeChanged event
- ShapeExitedTextEdit event
- ShapeParentChanged event
- ShapesDeleted event
- StyleAdded event
- StyleChanged event
- StyleDeleteCanceled event
- SuspendCanceled event
- TextChanged event
- UngroupCanceled event
- ViewChanged event
- VisioIsIdle event
- WindowActivated event
- WindowChanged event
- WindowCloseCanceled event
- WindowOpened event
- WindowTurnedToPage event
-
Methods
- Activate method
- Add method
- Add method (Addons collection)
- Add method (Documents collection)
- Add method (EventList collection)
- Add method (Layer object)
- Add method (Layers collection)
- Add method (Styles collection)
- Add method (Windows collection)
- AddAdvise method
- AddAt method
- AddAtID method
- AddCustomField[U] method
- AddField method
- AddGuide method
- AddHyperlink method
- AddNamedRow method
- AddRow method
- AddRows method
- AddSection method
- AddToFavorites method
- AddToGroup method
- AddUndoUnit method
- Arrange method
- BeginUndoScope method
- BoundingBox method
- BringForward method
- BringToFront method
- CenterDrawing method
- ClearCustomMenus method
- ClearCustomToolbars method
- ClearGestureFormatSheet method
- Close method
- Combine method
- ConvertResult method
- ConvertToGroup method
- Copy method
- Copy method (Selection object)
- Copy method (Shape object)
- CopyPreviewPicture method
- CreateShortcut method
- CreateURL method
- Cut method
- Cut method (Characters object)
- Delete method
- Delete method (Layer object)
- Delete method (Page object)
- DeleteRow method
- DeleteSection method
- DeleteSolutionXMLElement method
- DeselectAll method
- DockedStencils method
- DoCmd method
- DrawBezier method
- DrawLine method
- DrawNURBS method
- DrawOval method
- DrawPolyline method
- DrawRectangle method
- DrawRegion method
- DrawSpline method
- Drop method
- DropMany[U] method
- Duplicate method
- EndUndoScope method
- EnumDirectories method
- ExecuteLine method
- Export method
- ExportIcon method
- FitCurve method
- FlipHorizontal method
- FlipVertical method
- Follow method
- FollowHyperlink method
- FormatResult method
- Fragment method
- GetFilterCommands method
- GetFilterObjects method
- GetFilterSRC method
- GetFormulas[U] method
- GetNames[U] method
- GetPolylineData method
- GetResults method
- GetViewRect method
- GetWindowRect method
- GlueTo method
- GlueToPos method
- Group method
- IconFileName method
- Import method
- ImportIcon method
- InsertFromFile method
- InsertObject method
- Intersect method
- InvokeHelp method
- Join method
- Layout method
- LoadFromFile method
- Open method (Documents collection)
- Open method (Master object)
- OpenDrawWindow method
- OpenEx method
- OpenIconWindow method
- OpenSheetWindow method
- OpenStencilWindow method
- ParseLine method
- Paste method
- Paste method (Characters object)
- PasteSpecial method
- Point method
- PointAndDerivatives method
- Print method
- PrintTile method
- PurgeUndo method
- QueueMarkerEvent method
- Quit method
- Redo method
- Remove method
- RemoveFromGroup method
- RenameCurrentScope method
- ResizeToFitContents method
- ReverseEnds method
- Rotate90 method
- Run method
- Save method
- SaveAs method
- SaveAsEx method
- SaveToFile method
- SaveWorkspaceAs method
- Scroll method
- ScrollViewTo method
- Select method
- SelectAll method
- SendBackward method
- SendToBack method
- SetBegin method
- SetCenter method
- SetCustomMenus method
- SetCustomToolbars method
- SetEnd method
- SetFilterCommands method
- SetFilterObjects method
- SetFilterSRC method
- SetFormulas method
- SetResults method
- SetViewRect method
- SetWindowRect method
- Subtract method
- SwapEnds method
- TransformXYFrom method
- TransformXYTo method
- Trigger method (Cell object)
- Trigger method (Event object)
- Trim method
- Undo method
- Ungroup method
- Union method
- UpdateAlignmentBox method
- UpdateUI method
- XYFromPage method
- XYToPage method
-
Objects
- <Global> object
- ThisDocument object
- AccelItem object
- AccelItems collection
- AccelTable object
- AccelTables collection
- Addon object
- Addons collection
- Application (InvisibleApp) object
- Cell object
- Characters object
- Color object
- Colors collection
- Connect object
- Connects collection
- Curve object
- Document object
- Documents collection
- Event object
- EventList collection
- Font object
- Fonts collection
- Hyperlink object
- Hyperlinks collection
- Layer object
- Layers collection
- Master object
- Masters collection
- MasterShortcut object
- MasterShortcuts collection
- Menu object
- MenuItem object
- MenuItems collection
- Menus collection
- MenuSet object
- MenuSets collection
- MSGWrap object
- OLEObject object
- OLEObjects collection
- Page object
- Pages collection
- Path object
- Paths collection
- Row object
- Section object
- Selection object
- Shape object
- Shapes collection
- StatusBar object
- StatusBarItem object
- StatusBarItems collection
- StatusBars collection
- Style object
- Styles collection
- Toolbar object
- ToolbarItem object
- ToolbarItems collection
- Toolbars collection
- ToolbarSet object
- ToolbarSets collection
- UIObject object
- Window object
- Windows collection
-
Properties
- AccelItems property
- AccelTables property
- Action property
- ActionText property
- Active property
- ActiveDocument property
- ActivePage property
- ActivePrinter property
- ActiveWindow property
- Addins property
- AddonArgs property
- AddonName property
- AddonPaths property
- Addons property
- Address property
- AlertResponse property
- AlignName property
- AllowEditing property
- Alt property
- AlternateNames property
- Application property
- AreaIU property
- Attributes property
- AutoLayout property
- AutoRecover property
- AutoRecoverInterval property
- AvailablePrinters property
- Background property
- BackPage property
- BackPageAsObj property
- BackPageFromName property
- BasedOn property
- BaseID property
- Begin property
- BeginGroup property
- Blue property
- BottomMargin property
- Build property
- BuildNumberCreated property
- BuildNumberEdited property
- BuiltIn property
- BuiltInMenus property
- BuiltInToolbars property
- Caption property
- Category property
- Cell[U] property
- CellExists[U] property
- Cells[U] property
- CellsC property
- CellsRowIndex[U] property
- CellsSRC property
- CellsSRCExists property
- Characters property
- CharCount property
- CharProps property
- CharPropsRow property
- CharSet property
- ClassID property
- Clone property
- Closed property
- CmdNum property
- CntrlID property
- CntrlType property
- Colors property
- Column property
- COMAddIns property
- CommandBars property
- CommandLine property
- Company property
- Connects property
- Container property
- ContainingMaster property
- ContainingPage property
- ContainingRow property
- ContainingSection property
- ContainingShape property
- ContainsWorkspace property
- Control property
- Count property
- Creator property
- CurrentScope property
- CustomMenus property
- CustomMenusFile property
- CustomToolbars property
- CustomToolbarsFile property
- Data1 property
- Data2 property
- Data3 property
- DefaultAngleUnits property
- DefaultDurationUnits property
- DefaultFillStyle property
- DefaultGuideStyle property
- DefaultLineStyle property
- DefaultPageUnits property
- DefaultStyle property
- DefaultTextStyle property
- DefaultTextUnits property
- DeferRecalc property
- Description property
- DisplayKeysInTooltips property
- DisplayTooltips property
- DistanceFrom property
- DistanceFromPoint property
- Document property
- Documents property
- DocumentSheet property
- DrawingPaths property
- DropActions property
- DynamicGridEnabled property
- EditCopy property
- EmailRoutingData property
- Enabled property
- End property (Characters object)
- End property (Curve object)
- Error property
- Event property
- EventInfo property
- EventList property
- EventsEnabled property
- ExtraInfo property
- FaceID property
- FieldCategory property
- FieldCode property
- FieldFormat property
- FieldFormula[U] property
- FillBasedOn property
- FillStyle property
- FillStyleKeepFmt property
- FilterPaths property
- Flags property
- Flavor property
- Fonts property
- FooterCenter property
- FooterLeft property
- FooterMargin property
- FooterRight property
- ForeignData property
- ForeignType property
- Formula[U] property
- FormulaForce[U] property
- Frame property
- FromCell property
- FromConnects property
- FromPart property
- FromSheet property
- FullBuild property
- FullBuildNumberCreated property
- FullBuildNumberEdited property
- FullName property
- GeometryCount property
- GestureFormatSheet property
- GlueEnabled property
- GlueSettings property
- Green property
- HeaderCenter property
- HeaderFooterColor property
- HeaderFooterFont property
- HeaderLeft property
- HeaderMargin property
- HeaderRight property
- Height property
- Help property
- HelpContextID property
- HelpFile property
- HelpPaths property
- Hidden property
- HitTest property
- hwnd property
- Hyperlink property
- HyperlinkBase property
- Hyperlinks property
- Icon property
- IconSize property
- IconUpdate property
- ID property
- IncludesFill property
- IncludesLine property
- IncludesText property
- Index property
- Index property (Page object)
- IndexInStencil property
- InheritedFormulaSource property
- InheritedValueSource property
- InhibitSelectChange property
- InPlace property
- InstanceHandle32 property
- IsChanged property
- IsConstant property
- IsDefaultLink property
- IsEditingOLE property
- IsEditingText property
- IsField property
- IsHierarchical property
- IsInherited property
- IsInScope property
- IsOpenForTextEdit property
- IsSeparator property
- IsUndoingOrRedoing property
- Item[U] property
- ItemAtID property
- ItemFromID property
- ItemStatus property
- IterationMode property
- Key property
- Keywords property
- Language property
- LargeButtons property
- Layer property
- LayerCount property
- Layers property
- Left property
- LeftMargin property
- LengthIU property
- LineBasedOn property
- LineStyle property
- LineStyleKeepFmt property
- LiveDynamics property
- LocalName property
- lParam property
- Manager property
- Master property
- Masters property
- MasterShape property
- MasterShortcut property
- MasterShortcuts property
- MatchByName property
- MDIWindowMenu property
- MenuAnimationStyle property
- MenuItems property
- Menus property
- MenuSets property
- MergeCaption property
- MergeClass property
- MergeID property
- MergePosition property
- message property
- Mode property
- Name[U] property
- NameID property
- NewBaseID property
- NewWindow property
- Object property
- ObjectIsInherited property
- ObjectType property
- OLEObjects property
- OnDataChangeDelay property
- OneD property
- Original property
- Page property (Layer object, Layers collection)
- Page property (Window object)
- PageAsObj property
- PageFromName property
- Pages property
- PageSheet property
- PageTabWidth property
- PaletteEntry property
- PaletteWidth property
- PaperHeight property
- PaperSize property
- PaperWidth property
- ParaProps property
- ParaPropsRow property
- Parent property
- Parent property (Shape object)
- ParentItem property
- ParentWindow property
- Password property
- Path property
- Paths property
- PathsLocal property
- PatternFlags property
- Persistable property
- Persistent property
- PersistsEvents property
- Picture property
- PitchAndFamily property
- Points property
- Position property
- posttime property
- PreviewPicture property
- PrimaryItem property
- PrintCenteredH property
- PrintCenteredV property
- Printer property
- PrintFitOnPages property
- PrintLandscape property
- PrintPagesAcross property
- PrintPagesDown property
- PrintScale property
- PrintTileCount property
- Priority property
- ProcessID property
- ProductName property
- ProfileName property
- ProgID property
- Prompt property
- PromptForSummary property
- Protection property
- Protection property (Document object)
- ptx property
- pty property
- ReadOnly property
- Red property
- Result property
- ResultForce property
- ResultFromInt property
- ResultFromIntForce property
- ResultInt property
- ResultIU property
- ResultIUForce property
- ResultStr property
- RightMargin property
- RootShape property
- Row property
- RowCount property
- RowExists property
- RowIndex property
- RowName[U] property
- RowsCellCount property
- RowType property
- RunBegin property
- RunEnd property
- Saved property
- SavePreviewMode property
- ScreenUpdating property
- Section property
- Section property (Cell object)
- SectionExists property
- Selection property
- SetID property
- Shape property
- ShapeHelp property
- Shapes property
- Shift property
- ShowChanges property
- ShowConnectPoints property
- ShowGrid property
- ShowGuides property
- ShowMenus property
- ShowPageBreaks property
- ShowPageTabs property
- ShowProgress property
- ShowRulers property
- ShowScrollBars property
- ShowStatusBar property
- ShowToolbar property
- SnapAngles property
- SnapEnabled property
- SnapExtensions property
- SnapSettings property
- SolutionXMLElement property
- SolutionXMLElementCount property
- SolutionXMLElementExists property
- SolutionXMLElementName property
- Spacing property
- SpatialNeighbors property
- SpatialRelation property
- SpatialSearch property
- Start property
- StartupPaths property
- Stat property
- State property
- StencilPaths property
- StatusBarItems property
- StatusBars property
- Style property
- Style property (Cell object)
- Style property (Section object)
- Style property (Shape object)
- Style property (Selection object)
- Style property (Row object)
- StyleKeepFmt property
- Styles property
- SubAddress property
- Subject property
- SubType property
- TableName property
- TabPropsRow property
- Target property
- TargetArgs property
- TargetDocumentName property
- TargetMasterName property
- Template property
- TemplatePaths property
- Text property (Characters object)
- Text property (Shape object)
- TextAsString property
- TextBasedOn property
- TextStyle property
- TextStyleKeepFmt property
- Time property
- TimeCreated property
- TimeEdited property
- TimePrinted property
- TimeSaved property
- Title property
- ToCell property
- ToolbarItems property
- Toolbars property
- ToolbarSets property
- ToolbarStyle property
- Top property
- ToPart property
- TopMargin property
- ToSheet property
- TraceFlags property
- Type property
- TypelibMajorVersion property
- TypelibMinorVersion property
- TypeSpecific1 property
- TypeSpecific2 property
- UndoEnabled property
- UniqueID property (Master object)
- UniqueID property (Shape object)
- Units property
- UserName property
- VBE property
- VBProject property
- VBProjectData property
- Version property (Application object)
- Version property (Document object)
- ViewFit property
- Visible property
- Width property
- WindowHandle32 property
- Windows property
- WindowState property
- wParam property
- Zoom property
- Visual Basic Conceptual Topics
- Visual Basic Language Reference
- Microsoft Office Visual Basic Reference
- Microsoft Forms Visual Basic Reference