3.2.6.14 EMR_SETVIEWPORTORGEX Example

This section provides an example of the EMF EMR_SETVIEWPORTORGEX record ([MS-EMF] section 2.3.11.29).

 00064C40:0C 00 00 00 10 00 00 00 00 00 00 00 00 00 00 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

Type (0x0000000C)

Size (0x00000010)

Origin (0x00000000)

... (0x00000000)

Type (4 bytes): 0x0000000C identifies this record type as EMR_SETVIEWPORTORGEX.

Size (4 bytes): 0x00000010 is the size of this record in bytes.

Origin (8 bytes): 0x00000000, 0x00000000 specifies the viewport horizontal and vertical origin in device units.