API Documentation > CorelDRAW > 2025-v26 > IVGPageMarkup
IVGPageMarkup.CreateRectangle method
Create a comment Rectangle and returns the guid
Syntax:
Function CreateRectangle(ByVal Text As String, ByVal x As Double, ByVal y As Double, ByVal Width As Double, ByVal Height As Double, Optional ByVal OutlineWidth As Long = -1, Optional ByVal FillColor As Color = Nothing, Optional ByVal OutlineColor As Color = Nothing, Optional ByVal Author As IVGCommentAuthor = Nothing) As IVGComment
Parameters:
Name Type Description
Text
String
x
Double
y
Double
Width
Double
Height
Double
OutlineWidth
Long
FillColor
OutlineColor
Author