This document is archived and information here might be outdated.  Recommended version.


IMapServerHyperlink.Location Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Carto)  

IMapServerHyperlink.Location Property

The geometry of the feature having a hyperlink.

[Visual Basic .NET]
Public Property Location As IGeometry
[C#]
public IGeometry Location {get; set;}
[C++]
HRESULT get_Location(
  IGeometry** Location
);
[C++]
HRESULT putref_Location(
  IGeometry* Location
);
[C++]

Parameters Location [out, retval]
Location is a parameter of type IGeometry** Location [in]
Location is a parameter of type IGeometry*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

Location contains the geometry of a feature returned from a MapServer QueryHyperlinks query. This geometry have the same spatial reference system as the DefaultMapDescription.

In some cases you may want limit or adjust the geometry being returned. This can be done for security or performance reasons. Use ILayerResultOptions to manage this. It is important to note that the  IncludeGeometry setting will have no affect on Location. A MapServerHyperlink Location will always have geometry. You can use GeometryResultOptions to densify or generalize Location geometry. Densification is used to better support clients that do not support Arcs (e.g. Bezier, Circular etc.). Generalization reduces the amount of geography being sent across the network and should lead to better performance.

Densified or generalized geometry should only be used for navigation or display purpose, such as zooming to, flashing, or highlighting the selected feature. For spatial queries, GeometryResultOptions should not be used as it may returns unexpected results. For more information on please see IGeometry, Densify, and Generalize .

See Also

IMapServerHyperlink Interface