←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

Help Version 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Windows.Media.Effects Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.