API Documentation > CorelDRAW > 2025-v26 > Document > IVGDocument
Document.CreateSelection method
Creates a selection from a list of shapes
Syntax:
Sub CreateSelection(ByRef ParamArray ShapeArray() As Variant)
Parameters:
Name Type Description
ShapeArray
Variant
Remarks:
The CreateSelection method creates a selection from the list of shapes.