Nevron Forum
Back
Login
Register
Login
Register
Home
»
Nevron Vision for NET
»
Nevron Diagram for .NET
»
How could I create a custome Shape class
How could I create a custome Shape class
Post Reply
How could I create a custome Shape class
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
Goto Topics Forum
Author
Message
Hamdy Ghanem
Hamdy Ghanem
posted 14 Years Ago
ANSWER
HOT
Topic Details
Group: Forum Members
Posts: 7,
Visits: 1
I want to add more property for every shape
So I tried to create a cusom class that inherited from Nshape
but I failed because the Nshape has no new construction and is created by factory
How could I implement this functionality
Reply
Like
0
Reply
Nevron Support
Nevron Support
posted 14 Years Ago
ANSWER
Post Details
Group: Administrators
Posts: 3.1K,
Visits: 4.2K
Hi, the serializable attribute affects only the binary serialization. So the sample class is meant to be serialized binary. If you want to use the XML serialization with a custom class it should implement the IXmlSerializable interface.
Best Regards,
Nevron Support Team
Reply
Like
0
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Threaded View
Threaded View
How could I create a custome Shape class
Hamdy Ghanem
-
14 Years Ago
Hi, You can set any custom object to the Tag property of the shape....
Nevron Support
-
14 Years Ago
I did the three points and still giving error while saving
Hamdy Ghanem
-
14 Years Ago
Hi, you should create a class that hold the additinal properties you...
Nevron Support
-
14 Years Ago
could u plz send a sample class
Hamdy Ghanem
-
14 Years Ago
Hi, Here'sa sample implementation of a class you can use as a Tag...
Nevron Support
-
14 Years Ago
Sorry , but still sending the same error : Failed to save to file....
Hamdy Ghanem
-
14 Years Ago
Hi, the serializable attribute affects only the binary serialization....
Nevron Support
-
14 Years Ago
This is my class and still not saving and give this message "Failed to...
Hamdy Ghanem
-
14 Years Ago
We double checked the issue. In order to serialize a custom object to...
Nevron Support
-
14 Years Ago
Still sending the same error Failed to save to file. Exception was:...
Hamdy Ghanem
-
14 Years Ago
What if you use something like below? public class...
Tezcan Cirakoglu 2
-
13 Years Ago
Post Reply
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search