I have a print layer that I allow users to rotate. I also let them scale it. For instance, they tell me paper size and feet/inch. I then set the scale of the rectangle that will fit in the page. When I use a “flat” rectangle, so it has a 0 degree rotation, this works well. However, when they rotate it say 40 degrees to follow a road, I am having trouble getting the extent needed to display it properly on the print layer.
var boundBox = SheetBound.GetBoundingBox();
RectangleShape rs = projection.GetUpdatedExtent(boundBox);
my expectation is that above would give me the correct extents using the RotationProjection I have setup. What I am getting instead, is the exact same rectangleshape as if I didn’t use a rotation projection at all.