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)
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.