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


IGlobeControlDefault.Load3dFile Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Controls)  

IGlobeControlDefault.Load3dFile Method

Loads a Globe document into the GlobeControl.

[Visual Basic .NET]
Public Sub Load3dFile ( _
    ByVal fileName As String _
)
[C#]
public void Load3dFile (
    string fileName
);
[C++]
HRESULT Load3dFile(
  BSTR fileName
);
[C++]

Parameters fileName [in] fileName is a parameter of type BSTR

Product Availability

Available with ArcGIS Engine.

Description

Loads a globe document (*.3dd) into the GlobeControl. Use the Check3dFile method to determine if the specified globe document is a valid globe document.

Errors Returned

1018 800a03fa: The specified filename is invalid, the contents are corrupt or invalid
1019 800a03fb: The specified filename cannot be found
1021 800a03fd: The specified document has timed out
1031 800a0407: Password required to read this map document
1032 800a0408: The specified password is incorrect
1043 800a0413: The version of the specified document cannot be read by this software
1044 800a0414: The specified document can only be opened in the ArcReader application
1045 800a0415: The specified document does not allow access to internal objects

See Also

IGlobeControlDefault Interface