You are here: Understanding the Meridian object model > About the Document object > The Document object methods > LoadFromFile method

LoadFromFile method

Loads content for the current document from the specified file.

Syntax

LoadFromFile(FileName as String)
Parameters
Name Description

FileName

If specified, the file to load from the specified location outside the vault. If absent, the file is loaded from the Local Workspace with its current name.

Return Value

The name of the file that was loaded.

Remarks

Use this method to load content for a newly created hybrid part.