cancel
Showing results for 
Search instead for 
Did you mean: 

Function close diagram API vb

Solved
Highlighted
New Contributor

Function close diagram API vb

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.

Tags (3)
2 Replies
MEGA

Re: Function close diagram API vb

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
MEGA

Re: Function close diagram API vb

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