Nevron Forum
Back
Login
Register
Login
Register
Home
»
Nevron Vision for NET
»
Nevron Diagram for .NET
»
Center Shapes in a NDrawingView
Center Shapes in a NDrawingView
Post Reply
Center Shapes in a NDrawingView
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
Goto Topics Forum
Author
Message
Fabian Baptista
Fabian Baptista
posted 15 Years Ago
ANSWER
Topic Details
Group: Forum Members
Posts: 18,
Visits: 1
I Found this easy way to center a shape in a View.
I want to share it with other people.
With a NDrawingView V and a NShape N (the shape to center in V)
V.Zoom(1, N);
Regards,
Fabián
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
Center Shapes in a NDrawingView
Fabian Baptista 1
-
15 Years Ago
Hi Fabián, The Zoom method does not accept the NShape object rather...
Montford Chelliah
-
15 Years Ago
You are right. the correct method is: View.Zoom(1, N.Center);...
Fabian Baptista 1
-
15 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