LEADTOOLS Multimedia (Leadtools.Multimedia assembly) Send comments on this topic. | Back to Introduction | Help Version 17.0.3.22
biCompression Field
See Also 
Leadtools.Multimedia Namespace > BITMAPINFOHEADER Structure : biCompression Field



Specifies the type of compression for a compressed bottom-up bitmap (top-down DIBs cannot be compressed). This member can be one of the following values. BI_RGB An uncompressed format. BI_BITFIELDS Specifies that the bitmap is not compressed and that the color table consists of three DWORD color masks that specify the red, green, and blue components of each pixel. This is valid when used with 16- and 32-bpp bitmaps. BI_ALPHABITFIELDS Specifies that the bitmap is not compressed and that the color table consists of four DWORD color masks that specify the red, green, blue, and alpha components of each pixel. This is valid when used with 16- and 32-bpp bitmaps. You can OR any of the values in the above table with BI_SRCPREROTATE to specify that the source DIB section has the same rotation angle as the destination.

Syntax

Visual Basic (Declaration) 
Public biCompression As Integer
Visual Basic (Usage)Copy Code
Dim instance As BITMAPINFOHEADER
Dim value As Integer
 
value = instance.biCompression
 
instance.biCompression = value
C# 
public int biCompression
C++/CLI 
public:
int biCompression

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also