2.3.4.7 META_DELETEOBJECT Record

The META_DELETEOBJECT Record deletes an object, including the Bitmap16 Object (section 2.2.2.1), Brush Object (section 2.2.1.1), DeviceIndependentBitmap Object (section 2.2.2.9), Font Object (section 2.2.1.2), Palette Object (section 2.2.1.3), Pen Object (section 2.2.1.4), and Region Object (section 2.2.1.5). After the object is deleted, its index in the WMF Object Table (section 3.1.4.1) is no longer valid but is available to be reused.


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

RecordFunction

ObjectIndex

RecordSize (4 bytes): A 32-bit unsigned integer that defines the number of WORD structures, defined in [MS-DTYP] section 2.2.61, in the WMF record.

RecordFunction (2 bytes): A 16-bit unsigned integer that defines this record type. The lower byte MUST match the lower byte of the RecordType Enumeration (section 2.1.1.1) table value META_DELETEOBJECT.

ObjectIndex (2 bytes): A 16-bit unsigned integer used to index into the WMF Object Table to get the object to be deleted.

The WMF Object Table refers to an indexed table of WMF Objects (section 2.2) that are defined in the metafile. See section 3.1.4.1 for more information.

See section 2.3.4 for the specification of other Object Records.