Nevron Forum

How to add node programmatically into active layer of drawing document

https://www.nevron.com/Forum/Topic3805.aspx

By Balasaheb Sherkar 1 - Thursday, July 15, 2010

Hi,
 
I have my custom library, created using nevron design tool.

I want to add (insert) node programmatically into active layer of drawing document.

By Nevron Support - Thursday, July 15, 2010

Hi,

You can use the CreateInstance method of the master (from the library) you want to insert in the drawing document. For example:

 

master.CreateInstance(document, new NPointF(100, 100));