LEADTOOLS (Leadtools assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
InitAlpha Property
See Also 
Leadtools.ImageProcessing Namespace > ColorResolutionCommand Class : InitAlpha Property



Indicates whether to initialize the alpha channel values when converting to 32 or 64-bit images. Supported in Silverlight, Windows Phone 7

Syntax

Visual Basic (Declaration) 
Public Property InitAlpha As Boolean
Visual Basic (Usage)Copy Code
Dim instance As ColorResolutionCommand
Dim value As Boolean
 
instance.InitAlpha = value
 
value = instance.InitAlpha
C# 
public bool InitAlpha {get; set;}
C++/CLI 
public:
property bool InitAlpha {
   bool get();
   void set (    bool value);
}

Property Value

true to initialize the alpha channel values to all 1's (0xFF for 32-bit and OxFFFF for 64-bit) when conversting to 32 or 64-bit images, or false to leave the alpha channel values uninitialized to all 0's. Default value is true.

Example

For an example, refer to ColorResolutionCommand

Requirements

Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only), Windows Phone 7

See Also