BITMAP

BITMAP

类型定义

Type BITMAP ' 24 bytes

bmType As Long

bmWidth As Long

bmHeight As Long

bmWidthBytes As Long

bmPlanes As Integer

bmBitsPixel As Integer

bmBits As Long

End Type

字段表

字段

类型及说明

bmType

Long,Must be 0.

bmWidth

Long,Width of the bitmap in pixels.

bmHeight

Long,Height of the bitmap in pixels.

bmWidthBytes

Long,The number of bytes of data in a raster line. Must be an even number.

bmPlanes

Integer,The number of color planes in the bitmap.

bmBitPixel

Integer,The number of bits per pixel on each plane.

bmBits

Long,Address of the actual bitmap data.

注解

参考CreateBitmapIndirect函数

Top