Marblecore Imaging Library Documentation

Documentation Introduction
Documentation / Marblecore Imaging / Enumerations / Anchor

Anchor enumeration

Specifies the anchor position which will be used for the transformation.

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 MarblecoreImagingAnchor which contains all the available values.


Center0Image is centered (cropping/expanding will occur on all sides of the image)
TopLeft1Anchor at left top of image
TopCenter2Anchor at center top of image
TopRight3Anchor at right top of image
MiddleLeft4Anchor at left middle of image
MiddleRight5Anchor at right middle of image
BottomLeft6Anchor at left bottom of image
BottomCenter7Anchor at center bottom of image
BottomRight8Anchor at right bottom of image

See also

Expand | FileExpand | FileShrink | Shrink