API Documentation > CorelDRAW > 2025-v26 > ShapeRange > IVGShapeRange
ShapeRange.CustomCommand method
Executes a custom command on the given shapes
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 range.