2.2.3.3 ImageDataBlock

Specifies the properties of the control that are 4 bytes or smaller and are not set to the file format defaults. If the corresponding bit in the PropMask of the ImageControl that contains this ImageDataBlock is set to zero, the property value MUST NOT be stored in the file.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

BorderColor (optional)

BackColor (optional)

BorderStyle (optional)

MousePointer (optional)

PictureSizeMode (optional)

SpecialEffect (optional)

Padding1 (variable)

...

Picture (optional)

PictureAlignment (optional)

Padding2 (variable)

...

VariousPropertyBits (optional)

Padding3 (variable)

...

MouseIcon (optional)

Padding4 (variable)

...

BorderColor (4 bytes): An OLE_COLOR that specifies the value of the BorderColor property.

BackColor (4 bytes): An OLE_COLOR that specifies the value of the BackColor property.

BorderStyle (1 byte): An fmBorderStyle that specifies the value of the BorderStyle property.

MousePointer (1 byte): An unsigned integer that specifies the value of the MousePointer property.

PictureSizeMode (1 byte): An fmPictureSizeMode that specifies the value of the PictureSizeMode property.

SpecialEffect (1 byte): An fmSpecialEffect that specifies the value of the SpecialEffect property.

Padding1 (variable): Undefined and MUST be ignored. The size of this field is the least number of bytes required to align the following property, as specified by PaddingAndAlignment.

Picture (2 bytes): MUST be set to 0xFFFF when PropMask.fPicture of the ImageControl that contains this ImageDataBlock is set to 1. Not present when PropMask.fPicture is set to zero.

PictureAlignment (1 byte): An fmPictureAlignment that specifies the value of the PictureAlignment property.

Padding2 (variable): Undefined and MUST be ignored. The size of this field is the least number of bytes required to align the following property, as specified by PaddingAndAlignment.

VariousPropertyBits (4 bytes): A VariousPropertiesBitfield that specifies the value of the VariousPropertyBits properties.

Padding3 (variable): Undefined and MUST be ignored. The size of this field is the least number of bytes required to align the following property, as specified by PaddingAndAlignment.

MouseIcon (2 bytes): MUST be set to 0xFFFF when the PropMask.fMouseIcon of the ImageControl that contains this ImageDataBlock is set to 1. Not present when PropMask.fMouseIcon is set to zero.

Padding4 (variable): MUST be set to zero. The size of this field is the least number of bytes required to make the total size, in bytes, of this ImageDataBlock divisible by 4.