BeforeDocumentOpened Event (Application Object)

Scope: Schematic editor

Object: Application Object

Prerequisites: None

Occurs before a document is opened and drawn.

Usage

Private Sub Application_BeforeDocumentOpened(ByVal DocumentType As VdDataType, ByVal LibraryAlias As String, ByVal Name As String)

Arguments

DocumentType

Specifies the document type. This argument is of the form VdDataType Enum.

LibraryAlias

This is a string that corresponds to the library alias.

Name

This is the name of the document.