API Documentation > CorelDRAW > 2025-v26 > IVGCommentAnnotation
IVGCommentAnnotation.SetBoundingBox method
Move and resize a annotation to fit within a specific bounding box
Syntax:
Sub SetBoundingBox(ByVal x As Double, ByVal y As Double, ByVal Width As Double, ByVal Height As Double, Optional ByVal KeepAspect As Boolean = False, Optional ByVal ReferencePoint As cdrReferencePoint = cdrCenter)
Parameters:
Name Type Description
x
Double
y
Double
Width
Double
Height
Double
KeepAspect
Boolean
ReferencePoint