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 opens a new diagram for the .dm1 file. PARAMETERS: FullFilePath as String.

Syntax

Visual Basic

Public Function OpenFile( _
   ByVal [FullFilePath As Variant _
) As Diagram

Parameters

FullFilePath

Example

Dim MyDiagram As Diagram

Anchor
wp999277
wp999277
 
Anchor
wp999278
wp999278
Set MyDiagram = DiagramManager.OpenFile("C:\Program Files\Embarcadero\ERStudio\Model\MyModel.dm1")
Anchor
wp999279
wp999279
 
Anchor
wp999280
wp999280
or
Anchor
wp999281
wp999281
 
Anchor
wp999282
wp999282
Dim MyDiagram As Diagram
Anchor
wp999283
wp999283
Dim strFile As String
Anchor
wp999284
wp999284
 
Anchor
wp999285
wp999285
strFile = "C:\Program Files\Embarcadero\ERStudio\Model\MyModel.dm1"
Anchor
wp999286
wp999286
Set MyDiagram = DiagramManager.OpenFile(strFile)

...