Profile Picture

How to add node programmatically into active layer of drawing document

Posted By Balasaheb 14 Years Ago

How to add node programmatically into active layer of drawing document...

Author
Message
Nevron Support
Posted 14 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: Last Week
Posts: 3,054, Visits: 4,009

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



Best Regards,
Nevron Support Team



Balasaheb
Posted 14 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)

Group: Forum Members
Last Active: 14 Years Ago
Posts: 6, Visits: 1

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

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





Similar Topics


Reading This Topic