API Documentation > CorelDRAW > 2025-v26 > Shape > IVGShape
Shape.CustomCommand method
Executes a custom command on the given shape
Syntax:
Function CustomCommand(ByVal ComponentID As String, ByVal CommandID As String, ByRef ParamArray Parameters() As Variant) As Variant
Parameters:
Name Type Description
ComponentID
String
CommandID
String
Parameters
Variant
Remarks:
The CustomCommand method executes a custom command on a given shape.