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

ISceneControl.LoadSxFile 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.LoadSxFile Method
ArcGIS Developer Help

ISceneControl.LoadSxFile Method

Loads a scene document into the SceneControl.

[Visual Basic .NET]
Public Sub LoadSxFile ( _
    ByVal sxPath As String _
public void LoadSxFile (
    string sxPath
  BSTR sxPath
sxPath [in]

sxPath is a parameter of type BSTR

Product Availability

Available with ArcGIS Engine.


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