Leadtools.Windows.Media.Effects Namespace > WindowLevelEffect Class > WindowLevelEffect Constructor : WindowLevelEffect Constructor(RasterImage) |
public WindowLevelEffect( RasterImage image )
'Declaration Public Function New( _ ByVal image As RasterImage _ )
'Usage Dim image As RasterImage Dim instance As New WindowLevelEffect(image)
ObjectiveC Syntax
Java Syntax
public: WindowLevelEffect( RasterImage^ image )
Use this constructor to initialize a WindowLevelEffect to work on the specified Leadtools.RasterImage. You can also use the default constructor and then call the FillGrayTexture method to apply to a LEADTOOLS Leadtools.RasterImage.
Both of these methods will automatically initialize the GrayTexture property with the required brush to use by this effect.
For C#/VB examples, refer to WindowLevelEffect.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2