Description
Reads in the given, complete file path of the .dm1 file, and opens a new diagram for the .dm1 file. PARAMETERS: FullFilePath as String.
Syntax
Visual Basic |
Public Function OpenFile( _ |
Parameters
FullFilePath
Example
Dim MyDiagram As Diagram
Set MyDiagram = DiagramManager.OpenFile("C:\Program Files\Embarcadero\ERStudio\Model\MyModel.dm1")
or
Dim MyDiagram As Diagram
Dim strFile As String
strFile = "C:\Program Files\Embarcadero\ERStudio\Model\MyModel.dm1"
Set MyDiagram = DiagramManager.OpenFile(strFile)