mirror of
https://github.com/SabreTools/SabreTools.Models.git
synced 2026-09-23 23:25:35 +00:00
36 lines
1.1 KiB
C#
36 lines
1.1 KiB
C#
namespace SabreTools.Models.BMP
|
|
{
|
|
/// <summary>
|
|
/// The BITMAPFILEHEADER structure contains information about the type, size,
|
|
/// and layout of a file that contains a DIB.
|
|
/// </summary>
|
|
/// <see href="https://learn.microsoft.com/en-us/windows/win32/api/wingdi/ns-wingdi-bitmapfileheader"/>
|
|
public sealed class BITMAPFILEHEADER
|
|
{
|
|
/// <summary>
|
|
/// The file type; must be BM.
|
|
/// </summary>
|
|
public ushort Type { get; set; }
|
|
|
|
/// <summary>
|
|
/// The size, in bytes, of the bitmap file.
|
|
/// </summary>
|
|
public uint Size { get; set; }
|
|
|
|
/// <summary>
|
|
/// Reserved; must be zero.
|
|
/// </summary>
|
|
public ushort Reserved1 { get; set; }
|
|
|
|
/// <summary>
|
|
/// Reserved; must be zero.
|
|
/// </summary>
|
|
public ushort Reserved2 { get; set; }
|
|
|
|
/// <summary>
|
|
/// The offset, in bytes, from the beginning of the BITMAPFILEHEADER structure to the bitmap bits.
|
|
/// </summary>
|
|
public uint OffBits { get; set; }
|
|
}
|
|
}
|