The same properties as the Text component are used to control the vertical alignment of the Image component. The image will be aligned only if the Stretch property is set to false. Otherwise alignment is ignored.
Up.The image is aligned with the top edge of the component.
center.The image is centered between the top and bottom edges of the component.
under.The image is aligned with the bottom edge of the component.
The image will only be positioned if the image component's Stretch property is set to false. If the stretch property is true, then the alignment setting is ignored.
important:Image alignment is ignored if the Stretch property is set to true.