How to assign own symbols and how to add shapes without user input


How to assign own symbols and how to add shapes without user input
Author
Message
Hendrik Lösch
Hendrik Lösch
Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)
Group: Forum Members
Posts: 3, Visits: 1
Hallo,
I am evaluating your software to see if it matches our requirements and I must say, I am quite impressed. Two things are left I need to know:

We want that the user can create some kind of floor plans with the canvas and save it into a special interchange format based on XML. I allready created symbol libraries and saved them in a nxl file. If I create now a diagram with these symbols I have two problems:

1. How can I add a shape into the canvas? I tried nDrawingDocument.Add(myShape) but there is no Add Method.

2. How do I know which symbols the usere added to a canvas? I would like to attach a data container to the shapes class tag property before it is added to the canvas but first I need to know which type of symbol is added (is it a car, a tree or a dog?). I thought I can evaluate it by name but the name of my "Switch" symbole is allways "composite shape".

Thank you for your help.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search