Nevron Forum
Home
»
Nevron Vision for NET
»
Nevron Diagram for .NET
»
NTreeLayout issue after upgrading Vision .NET 2006 to 2017
Login
Register
Login
Register
Home
»
Nevron Vision for NET
»
Nevron Diagram for .NET
»
NTreeLayout issue after upgrading Vision .NET 2006 to 2017
NTreeLayout issue after upgrading Vision .NET 2006 to 2017
Post Reply
NTreeLayout issue after upgrading Vision .NET 2006 to 2017
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
Goto Topics Forum
Author
Message
JC Mata
JC Mata
posted 7 Years Ago
ANSWER
Topic Details
Group: Forum Members
Posts: 2,
Visits: 12
Hi all,
I'm trying to create an instance of NTreeLayout as follows
Dim treeLayout As New NTreeLayout(document)
but I'm getting this error
'New' cannot be used on a class that is declared 'MustInherit'
now then, looking at the user guide, it should be possible to create an instance that way...
What I'm doing wrong?
User Guide - Tree Layout
Thank you all for your responses.
Tags
NTreeLayout upgrade documentation
Reply
Like
0
Nevron Support
Nevron Support
posted 7 Years Ago
ANSWER
Post Details
Group: Administrators
Posts: 3.1K,
Visits: 4.2K
Hi,
You cannot instantiate an abstract class - you can create an instance of one of the classes that inherit from NTreeLayout - for example NBalloonTreeLayout, NLayeredTreeLayout, NCompactDepthTreeLayout, NTipOverTreeLayout etc. The following example shows the different types of layouts:
VB.NET Examples \ Layouts
take a look at Compact Depth Tree Layout, Layered Tree Layout and Tip Over Tree layout.
Let us know if you meet any problems or have any questions.
Best Regards,
Nevron Support Team
Reply
Like
0
JC Mata
JC Mata
posted 7 Years Ago
ANSWER
Post Details
Group: Forum Members
Posts: 2,
Visits: 12
Thank you for your answer, you may want to update the documentation then...
User Guide - NTreeLayout
The tree layout is used to automatically arrange graphs, which represent tree structures. The tree layout algorithms are encapsulated inside the NTreeLayout class (derived from NLayout), which can be instanced on demand:
' create a new tree layout associated with the specified document
Dim treeLayout As New NTreeLayout(document)
Reply
Like
0
Nevron Support
Nevron Support
posted 7 Years Ago
ANSWER
Post Details
Group: Administrators
Posts: 3.1K,
Visits: 4.2K
Hi,
This topic is not part of the official Nevron .NET Vision documentation. Here's a link to a topic about a specific tree layout:
Layered Tree Layout
As you can see on the navigation on the left, there isn't a link to this old topic, you are referencing. Only the file of this topic has left. Most probably we forgot to delete it from the server. Thank you very much for reporting that. We will delete it from the server soon, so that there isn't any confusion.
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
Post Reply
Similar Topics
Post Quoted Reply
Reading This Topic
2 active, 2 guests, 0 members, 0 anonymous
No members currently viewing this topic!
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search