Document Property (ALog)

Returns the active document automation object, if any.

Syntax

[ obActiveObject = ] Object.Document

The Document property syntax has the following parts:

 

Name

Type

Description

Object

ALog

ALog control

obActiveObject

Object

Retrieves a pointer to the object interface of the active document object. See more information regarding the Document object at Microsoft web site WebBrowser control documentation.

Comments

The default is this automation object. This property is read-only at run time.

Example

The following statement retrieves the active document Body tag element object:

objBody = Log.Document.Body

The following statement empty selection from the log:

Log.Document.Selection.Empty()

Applies to

ALog

See Also

Container