Error processing SSI file
LEADTOOLS WPF and Silverlight (Leadtools.Windows.Media.Effects assembly)

Show in webframe

CreateGrayTexture Method






The input LEADTOOLS Leadtools.RasterImage.
Helper method to create the grayscale brush required by this effect from a LEADTOOLS Leadtools.RasterImage.
Syntax
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
) 

Parameters

image
The input LEADTOOLS Leadtools.RasterImage.

Return Value

An System.Windows.Media.ImageBrush object containing the grayscale texture.
Remarks

You can use this method to create the grayscale texture required by this effect.

Example

For C#/VB examples, refer to WindowLevelEffect.

Requirements

Target Platforms

See Also

Reference

WindowLevelEffect Class
WindowLevelEffect Members

Error processing SSI file