共用方式為


Work with Visio shapes

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

The topics in this section provide step-by-step procedures and code examples for using the object model of Microsoft Office Visio to work with shapes in Office projects.

Task Procedure
Add shapes from a stencil to a Visio document. How to: Programmatically add shapes to a Visio document
Copy shapes from one Visio page and paste them in another page. How to: Programmatically copy and paste shapes in a Visio document

See also