2.2.2.33 EmfPlusPenData Object

The EmfPlusPenData object specifies properties of a graphics 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

PenDataFlags

PenUnit

PenWidth

OptionalData (variable)

...

PenDataFlags (4 bytes): An unsigned integer that specifies the data in the OptionalData field. This value is composed of PenData flags (section 2.1.2.7).

PenUnit (4 bytes): An unsigned integer that specifies the measuring units for the pen. The value is from the UnitType enumeration (section 2.1.1.32).

PenWidth (4 bytes): A floating-point value that specifies the width of the line drawn by the pen in the units specified by the PenUnit field. If a zero width is specified, a minimum value is used, which is determined by the units.

OptionalData (variable): An optional EmfPlusPenOptionalData object (section 2.2.2.34) that specifies additional data for the pen object. The specific contents of this field are determined by the value of the PenDataFlags field.

Graphics pens are specified by EmfPlusPen objects (section 2.2.1.7).

See section 2.2.2 for the specification of additional structure objects.