Table of contents
TOC
折叠目录
展开目录

Document.ShapesRemoved 事件 (发布服务器)Document.ShapesRemoved Event (Publisher)

office 365 dev account|上次更新日期: 2018/3/13
|
2 参与人员

在形状从出版物中删除时发生。Occurs when a shape is deleted from a publication.

语法Syntax

表达式ShapesRemovedexpression. ShapesRemoved

_expression_A 表示一个文档对象的变量。_expression_A variable that represents a Document object.

示例Example

从当前出版物中删除形状时,此示例将显示一条消息。对于此示例正常运行,必须将此代码放入本文档模块。This example displays a message whenever a shape is removed from the active publication. For this example to work, you must place this code into the ThisDocument module.

Private Sub Document_ShapesRemoved() 
 MsgBox "You just deleted one or more shapes." 
End Sub
© 2018 Microsoft