haplokuon / netDxf

.net dxf Reader-Writer
MIT License
966 stars 392 forks source link

Recalculate layout extents #445

Open Yawn0 opened 1 year ago

Yawn0 commented 1 year ago

Is there a way to recalculate the extents of a Layout for getting the new boundaries of a modified document? For example here's the original, where the red square represents the extents of the "Model" Layout,: image

Below you can see that the boundaries have not been updated to follow the changes made to the DxfDocument ( the red square has remained in the same position ) image

haplokuon commented 1 year ago

No. You will have to manually calculate it.