Description
Reads in the given complete file path of the .dm1 file, and then opens a new diagram for the .dm1 file. PARAMETERS: FullFilePath as String.
Syntax
Public Function OpenFile( _ ByVal FullFilePath As Variant _ ) As Diagram
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)