C# Class cadencii.BITMAPINFOHEADER

显示文件 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_oe property

public Int16,System biBitCount
return System.Int16

biClrImportant public_oe property

public UInt32,System biClrImportant
return System.UInt32

biClrUsed public_oe property

public UInt32,System biClrUsed
return System.UInt32

biCompression public_oe property

public UInt32,System biCompression
return System.UInt32

biHeight public_oe property

public Int32,System biHeight
return System.Int32

biPlanes public_oe property

public Int16,System biPlanes
return System.Int16

biSize public_oe property

public UInt32,System biSize
return System.UInt32

biSizeImage public_oe property

public UInt32,System biSizeImage
return System.UInt32

biWidth public_oe property

public Int32,System biWidth
return System.Int32

biXPelsPerMeter public_oe property

public Int32,System biXPelsPerMeter
return System.Int32

biYPelsPerMeter public_oe property

public Int32,System biYPelsPerMeter
return System.Int32