HyperlinkType property

Returns or sets the method for enabling hyperlinks for the specified data set. Read/write GeoDataSetHyperlinkType.

GeoDataSetHyperlinkType Value Description
geoHyperlinkCalculated
3
Hyperlinks automatically created by MapPoint, based on the HyperlinkCalculated property of the DataSet object
geoHyperlinkField
2
Hyperlinks from imported or linked fields, based on the HyperlinkField property of the DataSet
geoHyperlinkNone
0
Hyperlinks not used for this data set
geoHyperlinkNotes
1
Hyperlinks from Pushpin balloon notes, based on the Note property of the Pushpin object

Applies to

Objects:  DataSet

Syntax

object.HyperlinkType

Parameters

Part Description
object Required. An expression that returns a DataSet object.

Example

    Sub UserSetsHyperlink()

  Dim objApp As New MapPoint.Application   Dim objMap As MapPoint.Map   Dim objPin As MapPoint.Pushpin
  'Set up the application   Set objMap = objApp.ActiveMap   objApp.Visible = True   objApp.UserControl = True
  'Add a Pushpin to the map   Set objPin = objMap.AddPushpin(objMap.FindResults("Seattle, WA")(1))   objPin.BalloonState = geoDisplayBalloon
  'Create a hyperlink for the Pushpin data set and go to that link   objMap.DataSets(1).HyperlinkType = geoHyperlinkCalculated   objMap.DataSets(1).HyperlinkCalculated = "https://www.microsoft.com/mappoint"   objPin.Hyperlink.Follow
  End Sub

Note  This sample code is specific for use in MapPoint North America; it is for illustration purposes only.