Nevron Forum
Back
Login
Register
Login
Register
Home
»
Nevron Vision for NET
»
Nevron Diagram for .NET
»
Tree position in Diagram
Tree position in Diagram
Post Reply
Tree position in Diagram
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
Goto Topics Forum
Author
Message
Andrea Piazza
Andrea Piazza
posted 11 Years Ago
ANSWER
Topic Details
Group: Forum Members
Posts: 8,
Visits: 19
I use Tree Importer to draw diagram from database and then I use a NTextShape for writing header title in my document. But the diagram covers my TextShape because it's in front of it. How can I move down my Tree so I can see the title into TextShape?
Reply
Like
0
Reply
Nevron Support
Nevron Support
posted 11 Years Ago
ANSWER
Post Details
Group: Administrators
Posts: 3.1K,
Visits: 4.2K
By default layouts arrange the drawing relatively to the upper-left corner of the drawing.Bounds. That is why the tree/graph data importers arrange the drawing at the 0,0 origin. - provided that you have not modified the drawing.Bounds . The easiest way to place a header on top of your arranged drawing:
1. Import the data first,
2. Add the header text shape on top of the drawing.Bounds rectangle (for example with bounds new NRectangleF(0, -20, 1000, 20)).
3. Call the document.SizeToContent() method.
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
Tree position in Diagram
Andrea Piazza
-
11 Years Ago
Hi, Create and insert the text shape first and then import the diagram...
Nevron Support
-
11 Years Ago
I've tried with NTipOverTreeTayout but i've still the same problem....
Andrea Piazza
-
11 Years Ago
By default layouts arrange the drawing relatively to the upper-left...
Nevron Support
-
11 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