←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( 
   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

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Windows.Media.Effects Assembly