TrophyCustomer's Canvas is honored with a 2020 InterTech Technology Award! Learn more 

ResizeRectangleType Enumeration

Item resize types.

You can use these values in IContainerResizeOptions.

Enumeration members

Arbitrary

Arbitrary: = 2

Applies an arbitrary resize to items to fit them into the resulting bounding rectangle.

Fill

Fill: = 1

Fills the original bounding rectangle into the resulting one.

Fit

Fit: = 0

Fits the original bounding rectangle into the resulting one and maintains its proportions.

Original

Original: = 3

Expands only the canvas. Items remain in their places in the center of the expanded canvas.