Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
Deletes a Layer object. Can also delete shapes assigned to the deleted layer.
Syntax
expression.Delete( _fDeleteShapes_ )
expression A variable that represents a Layer object.
Parameters
| Name | Required/Optional | Data type | Description |
|---|---|---|---|
| fDeleteShapes | Required | Integer | 1 (True) to delete shapes assigned to the layer; otherwise, 0 (False). |
Return value
Nothing
Remarks
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.
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.