cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Function close diagram API vb

jbahi
Retired

Hello,

 

I want to know if the API function Vb to close a diagram exists.
Because I want to open the diagram (with odiag.open ), run a treatment on it, then close the diagram.

 

Regards.

2 Replies

I can confirm there this no function close a diagram with API script.

 

You can consider to close the diagram by closing the corresponding running object.

See http://community.mega.com/t5/custom/page/page-id/mega-kb-solution?sid=50120000000mqjqAAA

 

Note that this should be done very carrefully

Jerome

jhorber
MEGA
MEGA

Hello Jamale

 

There is no API script function to close a diagram.

 

Why is there not a symmetrical fonction Open? Because the function Open has been developped for test and demonstration purposes.

 

I will check this information in case something has changed recently.

Jerome