You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Current »

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)



  • No labels