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


ISceneControlDefault.LoadSxFile Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Controls)  

ISceneControlDefault.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

ISceneControlDefault Interface