API Documentation > CorelDRAW > 2025-v26 > ShapeRange > IVGShapeRange
ShapeRange.Unproject method
Removes projection transformation from a range of shapes
Syntax:
Function Unproject(ByVal Plane As cdrProjectPlane, Optional ByVal ReferencePoint As cdrReferencePoint = cdrCenter, Optional ByVal ApplyToDuplicate As Boolean = False) As ShapeRange
Parameters:
Name Type Description
Plane
ReferencePoint
Specifies the reference point for the conversion.
ApplyToDuplicate
Boolean
Specifies whether to apply the conversion to a duplicate, leaving the original shape range unchanged.
Remarks:
The Unproject method converts a a three-dimensional shape range into a two-dimensional shape range.
Examples:
The following VBA example projects the shape range to the top isometric plane, using the upper-right corner of the bounding box of the shape range as the reference point.
Sub Test()
Dim shp1 As Shape
Dim shp2 As Shape
Dim shpRng As ShapeRange
Set shp1 = ActiveLayer.CreateRectangle2(0,0,3,6)
Set shp2 = ActiveLayer.CreateRectangle2(2,2,5,3)
Set shpRng = ActiveLayer.FindShapes(Type:=cdrRectangleShape)
shpRng.Project cdrProjectTop, cdrProjectRight 
End Sub