Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

Code Block
languagevb
Public Function OpenFile( _
   ByVal FullFilePath As Variant _
) As Diagram

Parameters

  • FullFilePath

Example

Code Block
languagevb
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)
Info
titleSee Also