LEADTOOLS Image File Support (Leadtools.Codecs assembly)
LEAD Technologies, Inc

InitAlpha Property (CodecsLoadOptions)






Indicates whether or not to initialize the alpha channel when loading images as 32 or 64-bit. .NET support WinRT support Silverlight support
Syntax
public bool InitAlpha {get; set;}
'Declaration
 
Public Property InitAlpha As Boolean
'Usage
 
Dim instance As CodecsLoadOptions
Dim value As Boolean
 
instance.InitAlpha = value
 
value = instance.InitAlpha
public bool InitAlpha {get; set;}
 get_InitAlpha();
set_InitAlpha(value);
public:
property bool InitAlpha {
   bool get();
   void set (    bool value);
}

Property Value

true to set the alpha channel to ones (0xFF for 8-bit and OxFFFF for 16-bit), false to set the alpha channel to zeros.
Remarks

The default value for this property has changed from false to true in LEADTOOLS v16.5.

Example
For an example, refer to CodecsOptions.
Requirements

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

See Also

Reference

CodecsLoadOptions Class
CodecsLoadOptions Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.