←Select platform

CreateGrayTexture Method

Summary

Helper method to create the grayscale brush required by this effect from a LEADTOOLS Leadtools.RasterImage.

Syntax

C#
VB
C++
public static ImageBrush CreateGrayTexture(  
   Leadtools.RasterImage image 
) 
Public Shared Function CreateGrayTexture( _ 
   ByVal image As Leadtools.RasterImage _ 
) As ImageBrush 
public: 
static ImageBrush^ CreateGrayTexture(  
   Leadtools.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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Windows.Media.Effects Assembly
Click or drag to resize