2.3.5.16 META_SETLAYOUT Record

The META_SETLAYOUT Record defines the layout orientation in the playback device context.<59> The layout orientation determines the direction in which text and graphics are drawn


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

Layout

Reserved

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 WMF record type. The lower byte MUST match the lower byte of the RecordType Enumeration (section 2.1.1.1) table value META_SETLAYOUT.

Layout (2 bytes): A 16-bit unsigned integer that defines the layout of text and graphics. This MUST be one of the values in the Layout Enumeration (section 2.1.1.13).

Reserved (2 bytes): A 16-bit field that MUST be ignored.

See section 2.3.5 for the specification of other State Record Types.