Versions Compared

Key

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

...

Code Block
languagevb
Public Function RepoUndoCheckOutDiagram() As Variant

Parameters

...

Example

Code Block
languagevb
Sub Main 
Dim d As Diagram 
Set d = DiagramManager.ActiveDiagram 

Debug.Clear 

‘ Check out the diagram 
d.RepoCheckoutDiagram(True, ““) 
Debug.Print DiagramManager.GetLastErrorString 

‘ Reset object after checkout reloads it. 
Set d = DiagramManager.ActiveDiagram 
Debug.Print DiagramManager.GetLastErrorString 

d.RepoUndoCheckOutDiagram 
Debug.Print DiagramManager.GetLastErrorString 

End Sub 

...

Info
titleSee Also

...