API Documentation > CorelDRAW > 2025-v26 > ShapeRange > IVGShapeRange
ShapeRange.CountAnyOfType method
Returns the number of shapes of specific types in the range
Syntax:
Function CountAnyOfType(ByRef ParamArray TypeList() As Variant) As Long
Parameters:
Name Type Description
TypeList
Variant
Remarks:
The CountAnyOfType method returns the number of shapes of specific types in a shape range.