ImportHybridPart method

Creates a new hybrid part for the current document and loads content from the specified file path.

Syntax

ImportHybridPart(FilePath as String) As IASDocument11
Parameters
Name Description

FilePath

The path of a file from which to import document content for the new hybrid part.

Return Value

A Document object.

Remarks

This method is equivalent to the combination of the CreateHybridPart and LoadFromFile methods.

For events to occur for this method, the HybridEvents setting in the [ScriptEvents] section on the Application Integration tab of Application Settings in Configurator must be set to Y (default).