AddCustomProp Method

Adds a new custom property of the shape to the custom property collection of the shape. Returns a CustomProp object that corresponds to the added custom property.

Applies to: Shape object

Syntax

[[Set] customPropRet = ] object.AddCustomProp ()

The AddCustomProp method syntax has these parts:

Part Description
object

Required. An expression that returns a Shape object.

customPropRet Optional. A CustomProp type variable.

Remarks

If the custom property couldn't be added, the AddCustomProp method returns Nothing.

 

See Also

AddCustomProp method, CustomProp method, CustomPropsNum method, RemoveCustomProp method, CustomProp object