Export (0) Print
Expand All

2.2.2.2.2.2 PictureElement Structure

The PictureElement structure provides information about the image data contained in the UserTileData structure (section 2.2.2.2.2.1).

The PictureElement structure has the following format.


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

Type

Length

Data (variable)

...

Type (4 bytes): Specifies the type of PictureElement. It MUST be one of the following values.

Name Value

PictureFormatName (section 2.2.2.2.2.3 )

0x0

PictureFormatData (section 2.2.2.2.2.5 )

0x1

PictureFormatSource (section 2.2.2.2.2.4 )

0x2

Length (4 bytes): A 32-bit unsigned integer that MUST indicate the length, in bytes, of the Data field.

Data (variable): A variable-length field with size equal to the value of the Length field. The Data field contains the structure information that corresponds to the value of the Type field. The size of the Data field corresponds to the size of the specified structure as follows:

Name Value

PictureFormatName (section 2.2.2.2.2.3)

8 bytes

PictureFormatData (section 2.2.2.2.2.5)

14 bytes, plus a device-independent bitmap of variable length

PictureFormatSource (section 2.2.2.2.2.4)

Variable length

 
Show:
© 2015 Microsoft