Shape Bounds


https://www.nevron.com/Forum/Topic12970.aspx
Print Topic | Close Window

By Ashley Davy - 4 Years Ago
I have created a shape.  Next I added different geometry elements.  The elements extent beyond the shape boundaries.  How can I automatically adjust the shape to contain all the geometries?  Also when asking questions on this forum how can I include a picture or file for reference?

Thanks,
Ashley
By Nevron Support - 4 Years Ago
You can use the NShape UpdateBounds method. It will refactor the shape in such a way, so that geometries are inside the shape bounds. Note that during refactoring the shape will loose all expressions assigned to individual draw commands.

You can add images to the post by clicking on the Insert button (located below the post) - then click the AddFile to add attachment