API Documentation > CorelDRAW > 2025-v26 > URL > IVGURL
URL.Region property
Gets or sets URL Region
Syntax:
Property Get Region() As cdrURLRegion
Property Let Region(ByVal Value As cdrURLRegion)
Remarks:
The Region property returns or specifies the region for a URL.
Examples:
The following VBA example sets the region for the URL to the bounding box of each shape on the page.
Sub Test()
Dim sh As Shape
For Each sh In ActivePage.Shapes
  sh.URL.Region = cdrURLRegionRectangle
Next sh 
End Sub