Nóta
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað aðskrá þig inn eða breyta skráasöfnum.
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað að breyta skráasöfnum.
Includes a Document object for each open document in a Microsoft Visio instance.
Remarks
To retrieve a Documents collection, use the Documents property of an Application object.
The default property of a Documents collection is Item.
If your Visual Studio solution includes the Microsoft.Office.Interop.Visio reference, this collection maps to the following types:
- Microsoft.Office.Interop.Visio.IVDocuments.GetEnumerator() (to enumerate the Document objects)
- Microsoft.Office.Interop.Visio.IVDocuments (to access the collection)
Events
- AfterDocumentMerge
- AfterRemoveHiddenInformation
- AfterReplaceShapes
- BeforeDataRecordsetDelete
- BeforeDocumentClose
- BeforeDocumentSave
- BeforeDocumentSaveAs
- BeforeMasterDelete
- BeforePageDelete
- BeforeReplaceShapes
- BeforeSelectionDelete
- BeforeShapeDelete
- BeforeShapeTextEdit
- BeforeStyleDelete
- CalloutRelationshipAdded
- CalloutRelationshipDeleted
- CellChanged
- ConnectionsAdded
- ConnectionsDeleted
- ContainerRelationshipAdded
- ContainerRelationshipDeleted
- ConvertToGroupCanceled
- DataRecordsetAdded
- DataRecordsetChanged
- DesignModeEntered
- DocumentChanged
- DocumentCloseCanceled
- DocumentCreated
- DocumentOpened
- DocumentSaved
- DocumentSavedAs
- FormulaChanged
- GroupCanceled
- MasterAdded
- MasterChanged
- MasterDeleteCanceled
- PageAdded
- PageChanged
- PageDeleteCanceled
- QueryCancelConvertToGroup
- QueryCancelDocumentClose
- QueryCancelGroup
- QueryCancelMasterDelete
- QueryCancelPageDelete
- QueryCancelReplaceShapes
- QueryCancelSelectionDelete
- QueryCancelStyleDelete
- QueryCancelUngroup
- ReplaceShapesCanceled
- RuleSetValidated
- RunModeEntered
- SelectionAdded
- SelectionDeleteCanceled
- ShapeAdded
- ShapeChanged
- ShapeDataGraphicChanged
- ShapeExitedTextEdit
- ShapeLinkAdded
- ShapeLinkDeleted
- ShapeParentChanged
- StyleAdded
- StyleChanged
- StyleDeleteCanceled
- TextChanged
- UngroupCanceled
Methods
Properties
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.