Document Method (View Object)

Scope: Schematic editor

Object: View Object

Prerequisites: None

Returns the ShematicSheetDocument Object contained by the view.

Usage

View.Document() As IVdSchematicSheetDocument

Arguments

None

Return Values

As IVdDoc. The SchematicSheetDocument Object.

Description

Automation objects are organized as trees and the root of the tree for the application is the IVdApp object. Navigation between objects in the tree involves getting or creating object pointers and then using them. Most objects support navigation to their parent object through the use of a parent pointer that they store when they are created. IVdView is different in that it provides a method for getting to the IVdDoc object that is its parent.

See SchematicSheetDocument Object for more information.