Documents object (Visio)
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.
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk