API Documentation > CorelDRAW > 2025-v26 > ScreenRect > ICUIScreenRect
ScreenRect.SetPosition method
Sets the rectangle position and size
Syntax:
Sub SetPosition(ByVal Left As Long, ByVal Top As Long, ByVal Width As Long, ByVal Height As Long)
Parameters:
Name Type Description
Left
Long
Top
Long
Width
Long
Height
Long
Remarks:
The SetPosition method specifies the position and size of the rectangle.