stil

How to make the inclusion of hyperlinks to vb.net Layer Properties-> Display Tab-> hy

Discussion created by stil on Apr 26, 2012
How to make the inclusion of hyperlinks to vb.net Layer Properties-> Display Tab->hyperlinks
result
[ATTACH=CONFIG]13869[/ATTACH]


Sub add_hyper(i As Integer)
        Dim pDoc As IMxDocument
        pDoc = My.ArcMap.Application.Document
        Dim pMap As IMap
        pMap = pDoc.FocusMap
        Dim pFeatureLayer As ESRI.ArcGIS.Carto.IFeatureLayer
        Dim pFeatLayer As IFeatureLayer
        pFeatLayer = pMap.Layer(i)
        pFeatureLayer = pFeatLayer
        Dim pHotLinkContainer As IHotlinkContainer
        pHotLinkContainer = pFeatureLayer
        pHotLinkContainer.HotlinkType = ESRI.ArcGIS.Carto.esriHyperlinkType.esriHyperlinkTypeDocument
        pHotLinkContainer.HotlinkField = "PRAZREZ"
end sub

Attachments

Outcomes