LoadFromFile method

Microsoft Visio Developer Reference

LoadFromFile method

       

Loads a Microsoft Visio application UIObject object from a file.

Version added

4.0

Syntax

object.LoadFromFile fileName

object

Required. An expression that returns a UIObject object to receive data from the file.

fileName

Required String. The name of the file to load.

Remarks

You must use the SaveToFile method to save a UIObject object in a file that can be loaded with the LoadToFile method.