New to Telerik UI for WinFormsStart a free 30-day trial

Defines possible modes to be used when rendering an image.

Definition

Namespace:Telerik.WinControls

Assembly:Telerik.WinControls.dll

Syntax:

C#
public enum ImagePaintMode

Fields

Image is centered within the paint rectangle.

C#
Center = 5

Image is centered by the X axis and stretched by the Y one.

C#
CenterXStretchY = 6

Image is centered by the X axis and tiled by the Y one.

C#
CenterXTileY = 8

Image is centered by the Y axis and stretched by the X one.

C#
CenterYStretchX = 7

Image is centered by the Y axis and tiled by the X one.

C#
CenterYTileX = 9

Image is painted without any modification.

C#
None = 0

Image is stretched within the paint rectangle.

C#
Stretch = 1

Image is stretched by the X axis and tiled by the Y one.

C#
StretchXTileY = 2

Inner image segment is tiled while all others are stretched.

C#
StretchXYTileInner = 4

Image is stretched by the Y axis and tiled by the X one.

C#
StretchYTileX = 3

Image is tiled within the paint rectangle.

C#
Tile = 10

Image is flipped by the X axis and tiled within the paint rectangle.

C#
TileFlipX = 11

Image is flipped by the X and Y axis and tiled within the paint rectangle.

C#
TileFlipXY = 12

Image is flipped by the Y axis and tiled within the paint rectangle.

C#
TileFlipY = 13