←Select platform

GrayTexture Property

Summary

Gets or sets the gray texture to use with this effect. This is a dependency property.

Syntax

C#
VB
C++
public Brush GrayTexture {get; set;}
Public Property GrayTexture As Brush
public: 
property Brush^ GrayTexture { 
   Brush^ get(); 
   void set (    Brush^ ); 
} 

Property Value

A System.Windows.Media.Brush that specifies the gray texture to use with this effect. Default value is null (Nothing in VB).

Remarks

You don't usually provide the gray texture manually. Instead, use the WindowLevelEffect(RasterImage image) or FillGrayTexture methods to create the texture from a LEADTOOLS Leadtools.RasterImage.

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