Profile Picture

NPolygonShape points

Posted By Igor Yakubov 15 Years Ago
Author
Message
Igor Yakubov
Posted 15 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)

Group: Forum Members
Last Active: 14 Years Ago
Posts: 7, Visits: 1

Hi,
How can i show the points of NPolygonShape (the points that constracts the polygon) for example in the InteractivityStyle, and it will have the ability to be change this points in DiagramView (like bounds)?

Thanks!



Ivo Milanov
Posted 15 Years Ago
View Quick Profile
Forum Member

Forum Member (35 reputation)Forum Member (35 reputation)Forum Member (35 reputation)Forum Member (35 reputation)Forum Member (35 reputation)Forum Member (35 reputation)Forum Member (35 reputation)Forum Member (35 reputation)Forum Member (35 reputation)

Group: Forum Members
Last Active: 2 Months Ago
Posts: 35, Visits: 15

Hi Igor,

Each shape has an interaction style associated with it which specifies the aspects of the shape for which trackers (interactive editors with handlers) are created when the shape is selected. A polygon shape is a 2D shape, which by default shows only the rotated bounds, pin and rotation trackers. To show the points use this code:

NInteractionStyle istyle = shape.InteractionStyle;

istyle.GeometryPoints = true;

shape.InteractionStyle = istyle;

Best regards,
Ivo





Similar Topics


Reading This Topic