Leadtools.Codecs Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.12.17
InitAlpha Property
See Also 
Leadtools.Codecs Namespace > CodecsLoadOptions Class : InitAlpha Property




Indicates whether or not to initialize the alpha channel when loading images as 32 or 64-bit.

Syntax

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

Return 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.

Example

For an example, refer to CodecsOptions.

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