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


SxDocument CoClass (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (ArcScene)  

SxDocument CoClass

Provides access to members that control the ArcScene document.

Product Availability

Available with ArcGIS Desktop. Requires 3D Analyst Extension.

Supported Platforms

Windows

Interfaces

Interfaces Description
IBasicDocument2 (esriArcMapUI) Provides additional access to members that control the Basic Document.
IBasicDocumentDefaultSymbols (esriArcMapUI) Provides access to members that control Default basic symbols for the document.
IDataGraphCollection (esriCarto) Provides access to members that control graph collection in map document.
IDocument (esriFramework) Provides access to other objects in the document.
IDocument3DDefaultSymbols Provides access to members that control Default 3d symbols for the document.
IDocumentDatasets (esriCatalogUI) Provides access to members that control the document datasets.
IDocumentInfo2 (esriCarto) Provides access to members that control the Document Info.
IDocumentPreview (esriCarto) Provides access to members that control the Document Preview.
IDocumentVersion (esriSystem) Provides access to members that control the document version.
ISxDocument Provides access to members that control the ArcScene Document object.
ISxDocumentInfo Provides access to members that control the ArcScene document information.

Event Interfaces

Interfaces Description
ISxDocumentEventsDisp (default) Provides access to events fired by ArcScene.
ISxDocumentEvents Provides access to the events fired by ArcScene.
IDataGraphCollectionEvents Provides access to events that occur when the collection of graphs in the document changes.

Remarks

SxDocument is analogous to MxDocument and provides a handle to the running ArcScene document.

Working with Events

[Visual Basic 6.0]

When working with SxDocument's default outbound interface in Visual Basic 6 declare variables as follows:

Private WithEvents pSxDocument as SxDocument

When implementing ISxDocumentEvents declare variables as follows:

Private WithEvents pSxDocument as SxDocument

When implementing IDataGraphCollectionEvents declare variables as follows:

Private WithEvents pBarrierCollection as BarrierCollection