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


ILookAtKmlNode.ViewAtLookAtPoint Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > GlobeCore > ESRI.ArcGIS.GlobeCore > Interfaces > IL > ILookAtKmlNode Interface > ILookAtKmlNode.ViewAtLookAtPoint Method
ArcGIS Developer Help

ILookAtKmlNode.ViewAtLookAtPoint Method

Kml Node description.

[Visual Basic .NET]
Public Sub ViewAtLookAtPoint ( _
    ByVal pGlobe As IGlobe, _
    ByVal pKmlLayer As IKmlLayer _
)
[C#]
public void ViewAtLookAtPoint (
    IGlobe pGlobe,
    IKmlLayer pKmlLayer
);
[C++]
HRESULT ViewAtLookAtPoint(
  IGlobe* pGlobe,
  IKmlLayer* pKmlLayer
);
[C++]
Parameters
pGlobe [in]

pGlobe is a parameter of type IGlobe* pKmlLayer [in]
pKmlLayer is a parameter of type IKmlLayer*

Product Availability

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

Description

This method takes in as parameters a variable of type IGlobe and a variable of type IKmlLayer that is the KML layer that contains the node.

If the Node has a LookAtPoint defined then calling this method will zoom the view to the LookAtPoint.

If a Node does not have a LookAtPoint defined then calling this method will zoom to the extent of the Node and its children's geometries. If no geometry exists then calling this method on the Node will zoom the view to full extent of its parent KML layer.

See Also

ILookAtKmlNode Interface