ArcObjects Library Reference  (Schematic)    

NgProject CoClass

Project object.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Schematics Extension.

Extended Error Information

Use the ISupportErrorInfo method InterfaceSupportsErrorInfo to determine if the object supports extended error information. If the object supports extended error info, VC++ developers should use the OLE/COM IErrorInfo interface to access the ErrorInfo object. Visual Basic developers should use the global error object Err to retrieve this extended error information.

Interfaces

Interfaces Description
IConnectionPointContainer Supports connection points for connectable objects.
INgProject Provides access to members that control the graphic project.
INgProjectAlgorithm Provides access to members that control the management of the schematic algorithms for the graphic project.
INgProjectAnalyst Provides access to members that control the management of the schematic network trace analysts for the graphic project.
INgProjectBuilder Provides access to members that control the graphic project builder.
INgProjectTool Provides access to members that control the graphic project tool.
INgProjectViews Provides access to members that control the view windows positioning and the printer configuration.
ISchematicAlgorithmEvents Provides access to events that occur when a schematic algorithm is executed.
ISupportErrorInfo Indicates whether a specific interface can return Automation error objects.

Event Interfaces

Interfaces Description
INgProjectEvents (default) Provides access to events that occur on the graphic project.
ISchematicAlgorithmEvents Provides access to events that occur when a schematic algorithm is executed.

Working with Events

[Visual Basic 6.0]

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

Private WithEvents pNgProject as NgProject

When implementing ISchematicAlgorithmEvents declare variables as follows:

Private WithEvents pSchematicAlgorithmEvents as SchematicAlgorithmEvents