LEADTOOLS WPF and Silverlight (Leadtools.Windows.Media.Effects assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
FillGrayTexture Method
See Also 
Leadtools.Windows.Media.Effects Namespace > WindowLevelEffect Class : FillGrayTexture Method



image
The LEADTOOLS Leadtools.RasterImage containing the grayscale image.
image
The LEADTOOLS Leadtools.RasterImage containing the grayscale image.
Initializes the GrayTexture property of this effect from the specified Leadtools.RasterImage. Supported in Silverlight

Syntax

Visual Basic (Declaration) 
Public Sub FillGrayTexture( _
   ByVal image As RasterImage _
) 
Visual Basic (Usage)Copy Code
Dim instance As WindowLevelEffect
Dim image As RasterImage
 
instance.FillGrayTexture(image)
C# 
public void FillGrayTexture( 
   RasterImage image
)
C++/CLI 
public:
void FillGrayTexture( 
   RasterImage^ image
) 

Parameters

image
The LEADTOOLS Leadtools.RasterImage containing the grayscale image.

Example

For C#/VB examples, refer to WindowLevelEffect.

Remarks

Use this method to initialize the GrayTexture property required by this WindowLevelEffect to work on the specified Leadtools.RasterImage.

Requirements

Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also