This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IG > IGlobeControlDefault Interface > IGlobeControlDefault.Check3dFile Method (ArcObjects .NET 10.4 SDK) |
Checks if a filename is a Globe document.
[Visual Basic .NET] Public Function Check3dFile ( _ ByVal fileName As String _ ) As Boolean
[C#] public bool Check3dFile ( string fileName );
[C++]
HRESULT Check3dFile(
BSTR fileName,
VARIANT_BOOL* result
);
[C++]
Parameters fileName [in] fileName is a parameter of type BSTR result [out, retval] result is a parameter of type VARIANT_BOOL
Determines whether the specified Globe Document (*.3dd) is a valid globe document and can be loaded into the GlobeControl. The method verifies the file exists and verifies the file internals conform to an expected storage format. The method does not read and validate the entire contents of the file; use the Load3dFile to do this.