This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IS > ISceneControlDefault Interface > ISceneControlDefault.LoadSxFile Method (ArcObjects .NET 10.5 SDK) |
Loads a scene document into the SceneControl.
[Visual Basic .NET] Public Sub LoadSxFile ( _ ByVal sxPath As String _ )
[C#] public void LoadSxFile ( string sxPath );
[C++]
HRESULT LoadSxFile(
BSTR sxPath
);
[C++]
Parameters sxPath [in] sxPath is a parameter of type BSTR
Loads a scene document (*.sxd) into the SceneControl. Use the CheckSxFile method to determine if the specified scene document is a valid scene document.
1018 800a03fa: The specified filename is invalid, the contents are corrupt or invalid
1019 800a03fb: The specified filename cannot be found