ArcObjects Library Reference (Controls)  

ISceneControl.LoadSxFile Method

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

Product Availability

Available with ArcGIS Engine.

Description

Loads a scene document (*.sxd) into the SceneControl. Use the CheckSxFile method to determine if the specified scene document is a valid scene document.

Errors Returned

1018 800a03fa: The specified filename is invalid, the contents are corrupt or invalid
1019 800a03fb: The specified filename cannot be found

See Also

ISceneControl Interface