RadControls for WinForms

Defines possible modes to be used when rendering an image.

Namespace: Telerik.WinControls
Assembly: Telerik.WinControls (in Telerik.WinControls.dll) Version: 2013.1.321.40 (2013.1.321.40)

Syntax

C#
public enum ImagePaintMode
Visual Basic
Public Enumeration ImagePaintMode

Members

Member nameValueDescription
None0 Image is painted without any modification.
Stretch1 Image is stretched within the paint rectangle.
StretchXTileY2 Image is stretched by the X axis and tiled by the Y one.
StretchYTileX3 Image is stretched by the Y axis and tiled by the X one.
StretchXYTileInner4 Inner image segment is tiled while all others are stretched.
Center5 Image is centered within the paint rectangle.
CenterXStretchY6 Image is centered by the X axis and stretched by the Y one.
CenterYStretchX7 Image is centered by the Y axis and stretched by the X one.
CenterXTileY8 Image is centered by the X axis and tiled by the Y one.
CenterYTileX9 Image is centered by the Y axis and tiled by the X one.
Tile10 Image is tiled within the paint rectangle.
TileFlipX11 Image is flipped by the X axis and tiled within the paint rectangle.
TileFlipXY12 Image is flipped by the X and Y axis and tiled within the paint rectangle.
TileFlipY13 Image is flipped by the Y axis and tiled within the paint rectangle.

See Also