3.2.5 META_SELECTOBJECT Example 2

This section provides an example of a META_SELECTOBJECT Record (section 2.3.4.10).

 00000030:                         04 00 00 00 2D 01 01 00 


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

RecordSize (0x00000004)

RecordFunction (0x012D)

ObjectIndex (0x0001)

RecordSize (4 bytes): 0x00000004 specifies the number of WORD structures, defined in [MS-DTYP] section 2.2.61, in this record, which is equivalent to 8 (0x00000008) bytes.

RecordFunction (2 bytes): 0x012D specifies the type of this record from the RecordType Enumeration (section 2.1.1.1) to be META_SELECTOBJECT.

ObjectIndex (2 bytes): 0x0001 specifies the index in the WMF Object Table (section 3.1.4.1) of the object being selected, which is the Brush Object (section 2.2.1.1) created in the previous record.