Products | Support | Back to Introduction | Email a link to this topic. | Back to Introduction - All Topics | Help Version 19.0.4.23
|
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)
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.