C# Class cadencii.BITMAPINFOHEADER

Show file Open project: cadencii/cadencii Class Usage Examples

Public Properties

Property Type Description
biBitCount System.Int16
biClrImportant System.UInt32
biClrUsed System.UInt32
biCompression System.UInt32
biHeight System.Int32
biPlanes System.Int16
biSize System.UInt32
biSizeImage System.UInt32
biWidth System.Int32
biXPelsPerMeter System.Int32
biYPelsPerMeter System.Int32

Public Methods

Method Description
Read ( Stream stream ) : BITMAPINFOHEADER
ToString ( ) : string
Write ( BinaryWriter bw ) : void
Write ( Stream s ) : void

Private Methods

Method Description
readInt16 ( Stream fs ) : short
readInt32 ( Stream fs ) : int
readUInt16 ( Stream fs ) : ushort
readUInt32 ( Stream fs ) : uint

Method Details

Read() public static method

public static Read ( Stream stream ) : BITMAPINFOHEADER
stream Stream
return BITMAPINFOHEADER

ToString() public method

public ToString ( ) : string
return string

Write() public method

public Write ( BinaryWriter bw ) : void
bw System.IO.BinaryWriter
return void

Write() public method

public Write ( Stream s ) : void
s Stream
return void

Property Details

biBitCount public property

public Int16,System biBitCount
return System.Int16

biClrImportant public property

public UInt32,System biClrImportant
return System.UInt32

biClrUsed public property

public UInt32,System biClrUsed
return System.UInt32

biCompression public property

public UInt32,System biCompression
return System.UInt32

biHeight public property

public Int32,System biHeight
return System.Int32

biPlanes public property

public Int16,System biPlanes
return System.Int16

biSize public property

public UInt32,System biSize
return System.UInt32

biSizeImage public property

public UInt32,System biSizeImage
return System.UInt32

biWidth public property

public Int32,System biWidth
return System.Int32

biXPelsPerMeter public property

public Int32,System biXPelsPerMeter
return System.Int32

biYPelsPerMeter public property

public Int32,System biYPelsPerMeter
return System.Int32