2.3.8.5 EMR_SELECTOBJECT Record

The EMR_SELECTOBJECT record selects a graphics object into the playback device context.


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

Size

ihObject

Type (4 bytes): An unsigned integer that identifies this record type as EMR_SELECTOBJECT. This value is 0x00000025.

Size (4 bytes): An unsigned integer that specifies the size of this record in bytes.

ihObject (4 bytes): An unsigned integer that specifies either the index of a graphics object in the EMF object table (section 3.1.1.1) or the index of a stock object in the StockObject enumeration (section 2.1.31).

The object index MUST NOT be zero, which is reserved and refers to the EMF metafile itself.

The object specified by this record MUST be used in subsequent EMF drawing operations, until another EMR_SELECTOBJECT record changes the object of that type or the object is deleted.

See section 2.3.8 for more object manipulation record types.

Show: