Leadtools.Windows.Media.Effects Namespace > WindowLevelEffect Class : CreateGrayTexture Method |
public static ImageBrush CreateGrayTexture( RasterImage image )
'Declaration Public Shared Function CreateGrayTexture( _ ByVal image As RasterImage _ ) As ImageBrush
'Usage Dim image As RasterImage Dim value As ImageBrush value = WindowLevelEffect.CreateGrayTexture(image)
ObjectiveC Syntax
public: static ImageBrush^ CreateGrayTexture( RasterImage^ image )
You can use this method to create the grayscale texture required by this effect.
For C#/VB examples, refer to WindowLevelEffect.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2