Export (0) Print
Expand All
Expand Minimize

3.2.20 EMR_SETTEXTALIGN Example

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

00000150:                            16 00 00 00 
00000160: 0C 00 00 00 00 00 00 00
c8aef704-7bff-4e82-b1e2-e495a2e63d03

Figure 27: EMF EMR_SETTEXTALIGN Record Example

Type: 0x00000016 identifies this EMF record type as EMR_SETTEXTALIGN.

Size: 0x0000000C specifies the size of this record in bytes.

TextAlignmentMode: 0x00000000 specifies text alignment using a mask of WMFTextAlignmentMode flags or VerticalTextAlignmentMode flags ([MS-WMF] section 2.1.2.3 or 2.1.2.4, respectively). Only one flag can be chosen from those that affect horizontal and vertical alignment. In addition, only one of the two flags that alter the current position can be chosen.

 
Show:
© 2015 Microsoft