ExtraInfo property

Microsoft Visio Developer Reference

ExtraInfo property

   Example   

Returns or sets extra URL request information used to resolve the hyperlink's URL.

Version added

5.0

Syntax

strRet = object.ExtraInfo
object.ExtraInfo = stringExpression

strRet

String. The current value of the field.

object

Required. An expression that returns a Hyperlink object.

stringExpression

Required String. The new value for the field.

Remarks

Setting the ExtraInfo property of a shape's Hyperlink object is optional, and is equivalent to setting the value of the ExtraInfo cell in the shape's Hyperlink.Row row.

You might, for example, set the Hyperlink object's ExtraInfo property to the coordinates of an image map, the contents of a form, or a file name.

If the ExtraInfo property you provide contains reserved characters other than spaces, you must input the escape character "%" and the character's hex equivalent. For example:

For "NAME=John Smith", set the ExtraInfo property to "NAME=John Smith" because the extra information contains spaces, but no reserved characters.

For "PATH=C:\TEMP", set ExtraInfo property to "PATH=C%3A%5CTEMP" because of the reserved characters.