ViewCropRegionShapeManager.SplitRegionVertically
Description:
Splits vertically one region in split crop.
Splits vertically one region in split crop.
Remarks:
This function splits the crop into two regions: one occupying the top quarter of the crop, and the other the bottom quarter of the crop.
This function splits the crop into two regions: one occupying the top quarter of the crop, and the other the bottom quarter of the crop.
public void SplitRegionVertically(
int regionIndex,
double topPart,
double bottomPart
)
-
Int32regionIndexIndex of region to be split vertically (numbering starts with 0).
-
DoubletopPartRelative portion of the original region to become the new top region (0 to 1).
-
DoublebottomPartRelative portion of the original region to become the new bottom region (0 to 1).
-
The provided view region proportions are not valid. -or- The provided region index is invalid.
-
The crop of the associated view is not permitted to have multiple regions. -or- The view has non-rectangular crop shape set. -or- The view crop is already split horizontally.