LEADTOOLS Image File Support (Leadtools.Codecs assembly)

InitAlpha Property (CodecsLoadOptions)

Show in webframe







Indicates whether to initialize the alpha channel when loading images as 32 or 64-bit.
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;}
@property (nonatomic, assign) BOOL initAlpha;
public boolean getInitAlpha()
public void setInitAlpha(boolean value)
            
 
get_InitAlpha();
set_InitAlpha(value);
Object.defineProperty('InitAlpha');
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

See Also

Reference

CodecsLoadOptions Class
CodecsLoadOptions Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.