Struct BitmapFileHeader
The BITMAPFILEHEADER structure contains information about the type, size, and layout of a file that contains a DIB. See BITMAPFILEHEADER structure
Namespace: Dapplo.Windows.Gdi32.Structs
Assembly: Dapplo.Windows.Gdi32.dll
Syntax
public struct BitmapFileHeader
Properties
| Improve this Doc View SourceFileType
The file type; must be BM.
Declaration
public short FileType { get; }
Property Value
Type | Description |
---|---|
System.Int16 |
OffsetToBitmapBits
The offset, in bytes, from the beginning of the BITMAPFILEHEADER structure to the bitmap bits.
Declaration
public int OffsetToBitmapBits { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Size
The size, in bytes, of the bitmap file.
Declaration
public int Size { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
| Improve this Doc View SourceCreate(BitmapInfoHeader)
Create a BitmapFileHeader which needs a BitmapInfoHeader to calculate the values
Declaration
public static BitmapFileHeader Create(BitmapInfoHeader bitmapInfoHeader)
Parameters
Type | Name | Description |
---|---|---|
BitmapInfoHeader | bitmapInfoHeader | BitmapInfoHeader |
Returns
Type | Description |
---|---|
BitmapFileHeader |