EmfPlusPenData class

The EmfPlusPenData object specifies properties of a graphics pen.

public sealed class EmfPlusPenData : EmfPlusStructureObjectType


Name Description
EmfPlusPenData() The default constructor.


Name Description
OptionalData { get; set; } Gets or sets optional EmfPlusPenOptionalData object (section that specifies additional data for the pen object. The specific contents of this field are determined by the value of the PenDataFlags field.
PenDataFlags { get; set; } Gets or sets 32-bit unsigned integer that specifies the data in the OptionalData field. This value MUST be composed of PenData flags (section
PenUnit { get; set; } Gets or sets 32-bit unsigned integer that specifies the measuring units for the pen. The value MUST be from the UnitType enumeration (section
PenWidth { get; set; } Gets or sets 32-bit 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

See Also