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




Gets or sets a value indicating whether to save the alpha channel as lossless.

Syntax

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

Return Value

true to save the alpha channel as lossless, otherwise; false.

Example

For an example, refer to CodecsJpeg2000Options.

Remarks

The default value is true. The resulting image is 32-bit. The value of this property controls the compression type of alpha channel for J2K/jP2 lossy compression. This option should be used on a 32-bit bitmap otherwise it has no effect.

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