LEADTOOLS WPF and Silverlight (Leadtools.Windows.Media.Effects assembly)
LEAD Technologies, Inc

CreateGrayTexture Method






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

See Also

Reference

WindowLevelEffect Class
WindowLevelEffect Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.