Marblecore Imaging Library Documentation

Documentation Introduction
Documentation / Marblecore Imaging / Enumerations / Rotation

Rotation enumeration

Specifies the rotation method which is used. When an image is rotated the resulting image will be slightly (depending on the rotating angle) bigger than the original. The values below specify how the engine should handle this image growth.

If you use the ATL COM version of the library, you can supply the string value (the name of the value) or the number value (as listed in the table below) as the enumeration value. If you use the Class Library, the enumeration is available as an enum object with the name MarblecoreImagingRotation which contains all the available values.

Values

NameValueDescription
Fit0Rotates the image with expanding and resizes the result image to fit within the original width and height while maintaining aspect ratio
Resize1Rotates the image with expanding and resizes the result image to the original width and height
Expand2Rotates the image and expands the width and height to accomodate the rotated image
Crop3Rotates the image and crops the result image to the orginal width and height
Mask4Rotates the image using a mask effect for filling out the gaps (expanding will occur)

See also

Rotate