Products | Support | Back to Introduction | Email a link to this topic. | Back to Introduction - All Topics | Help Version 19.0.4.23
|
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.