Previous Document Next Document
URL.Region

Property Region As cdrURLRegion

Member of URL

The Region property returns or sets the region for a URL.

The following code 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 

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.