2024 Method
Changes 0
M

ViewCropRegionShapeManager.SetCropShape

Description:
Sets the boundary of the view's crop to the specified shape.
Remarks:

Depending on the shape of the argument, view's crop is set to be either rectangular or non-rectangular. If the crop is set to be rectangular and it is also split, then the multiple view regions will be displayed for the view, with the same proportions as the split prior to the change, but adjusted to the new rectangular shape.

This Method is reserved for setting crop shape in views that allow non-rectangular crop shapes - see property CanHaveShape. For views that don't allow non-rectangular crop shapes (e.g. View3D), please use property CropBox for that purpose.

public void SetCropShape(
	CurveLoop boundary
)