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

Layer.Delete 方法 (Visio)Layer.Delete Method (Visio)

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

删除图层对象。此外可以删除分配给已删除图层的形状。Deletes a Layer object. Can also delete shapes assigned to the deleted layer.

语法Syntax

表达式删除( fDeleteShapes )expression . Delete( fDeleteShapes )

表达式_一个表示对象的变量。_expression A variable that represents a Layer object.

参数Parameters

名称Name必需/可选Required/Optional数据类型Data Type说明Description
fDeleteShapesfDeleteShapes必需RequiredIntegerInteger1 ( true ) 要删除形状分配到图层;否则为返回 0 ( False )。1 ( True ) to delete shapes assigned to the layer; otherwise, 0 ( False ).

返回值Return Value

Nothing

注解Remarks

FDeleteShapes_为非零值,仅分配给已删除图层的形状将被删除。否则,形状只是不再被分配到该图层中。When _fDeleteShapes is non-zero, shapes assigned only to the deleted layer are deleted. Otherwise, the shapes are simply no longer assigned to that layer.

© 2018 Microsoft