ImageAttributes.SetWrapMode Method (WrapMode, Color, Boolean)
Sets the wrap mode and color used to decide how to tile a texture across a shape, or at shape boundaries. A texture is tiled across a shape to fill it in when the texture is smaller than the shape it is filling.
Assembly: System.Drawing (in System.Drawing.dll)
- Type: System.Drawing.Drawing2D.WrapMode
An element of WrapMode that specifies how repeated copies of an image are used to tile an area.
- Type: System.Drawing.Color
A color object that specifies the color of pixels outside of a rendered image. This color is visible if the mode parameter is set to Clamp and the source rectangle passed to DrawImage is larger than the image itself.
- Type: System.Boolean
This parameter has no effect. Set it to false.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.