Leadtools Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.3.5
SetAlphaValuesCommand Class
See Also  Members  
Leadtools.ImageProcessing Namespace : SetAlphaValuesCommand Class




Fills the image alpha values, while preserving the other image components.

Syntax

Visual Basic (Declaration) 
Public Class SetAlphaValuesCommand 
   Inherits RasterCommand
   Implements IRasterCommand 
Visual Basic (Usage)Copy Code
Dim instance As SetAlphaValuesCommand
C# 
public class SetAlphaValuesCommand : RasterCommand, IRasterCommand  
Managed Extensions for C++ 
public __gc class SetAlphaValuesCommand : public RasterCommand, IRasterCommand  
C++/CLI 
public ref class SetAlphaValuesCommand : public RasterCommand, IRasterCommand  

Example

This example will load an image, convert it to 32-bit/pixel and then set the alpha values to half the maximum allowed

Remarks

This command only works with images that are 32 or 64-bit bits per pixel.

Inheritance Hierarchy

System.Object
   Leadtools.ImageProcessing.RasterCommand
      Leadtools.ImageProcessing.SetAlphaValuesCommand

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also