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


ISceneControl.CheckSxFile Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IS > ISceneControl Interface > ISceneControl.CheckSxFile Method
ArcGIS Developer Help

ISceneControl.CheckSxFile Method

Checks if a filename is a scene document.

[Visual Basic .NET]
Public Function CheckSxFile ( _
    ByVal fileName As String _
) As Boolean
[C#]
public bool CheckSxFile (
    string fileName
);
[C++]
HRESULT CheckSxFile(
  BSTR fileName
);
[C++]
Parameters
fileName [in]

fileName is a parameter of type BSTR

Product Availability

Available with ArcGIS Engine.

Description

Determines whether the specified Scene Document (*.sxd) is a valid scene document and can be loaded into the SceneControl. 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 LoadSxFile to do this.

See Also

ISceneControl Interface