Export (0) Print
Expand All

2.2.19 LogPen Object

The LogPen object defines the style, width, and color of a logical pen.


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

PenStyle

Width

...

ColorRef

PenStyle (4 bytes): A 32-bit unsigned integer that specifies the PenStyle. The value MUST be defined from the PenStyle enumeration table, specified in section 2.1.25.

Width (8 bytes): A WMFPointL object ([MS-WMF] section 2.2.2.15) that specifies the width of the pen by the value of its x field. The value of its y field MUST be ignored.

If the pen type in the PenStyle field is PS_GEOMETRIC, this value is the width in logical units; otherwise, the width is specified in device units. If the pen type in the PenStyle field is PS_COSMETIC, this value MUST be 0x00000001.

ColorRef (4 bytes): A WMF ColorRef object ([MS-WMF] section 2.2.2.8) that specifies the pen color value.

 
Show:
© 2014 Microsoft