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

Compare with Current View Page History

Version 1 Next »

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
 
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)

See Also

Application Collection

  • No labels