- image
- The input LEADTOOLS Leadtools.RasterImage.
Visual Basic (Declaration) | |
---|---|
Public Shared Function CreateGrayTexture( _ ByVal image As RasterImage _ ) As ImageBrush |
Visual Basic (Usage) | Copy Code |
---|---|
Dim image As RasterImage Dim value As ImageBrush value = WindowLevelEffect.CreateGrayTexture(image) |
C# | |
---|---|
public static ImageBrush CreateGrayTexture( RasterImage image ) |
C++/CLI | |
---|---|
public: static ImageBrush^ CreateGrayTexture( RasterImage^ image ) |
Parameters
- image
- The input LEADTOOLS Leadtools.RasterImage.
Return Value
An System.Windows.Media.ImageBrush object containing the grayscale texture.For C#/VB examples, refer to WindowLevelEffect.
You can use this method to create the grayscale texture required by this effect.
Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)