Controls how an image is displayed
Member | Value | Description |
---|---|---|
NoStretch | 0 | Not stretched at all - display depends on Zoom and ScrollX & ScrollY properties. If rotated, image position will be calculated as if non-rotated, the moved by Scroll and then finally rotated around its centre point |
NoStretchBoundingBox | 33 | |
StretchCentred | 21 | Fitted to the available size, and centered within that |
StretchTopLeft | 16 | Fitted to the available size, but placed in the top left corner |
TrueSize | 32 | Similar to NoStretch, but image will be zoomed and rotated and the top-left of its bounding box calculated to provide a reference position before the Scroll is applied. |