Import Method (PIAnnotation object)

              

 

This method imports a file as the Value of an annotation.

 

Syntax

object.Import bstrFilePath

 

The Import method syntax has these parts:

Part

Description

object

An object expression that evaluates to a PIAnnotation object.

bstrFilePath

The complete path to the file.

  

Remarks

Importing a file as the Value of an annotation sets the IsFile parameter of the annotation to True.

 

Trappable Errors

In addition to generic errors (such as Out of Memory), the following errors may occur:

Error

Description

psePIANN_IMPORT

There was an error importing the file.

 

Enabling Operational Intelligence