Class EmfPlusPenData
Namespace: Aspose.Imaging.FileFormats.Emf.EmfPlus.Objects
Assembly: Aspose.Imaging.dll (25.2.0)
The EmfPlusPenData object specifies properties of a graphics pen.
public sealed class EmfPlusPenData : EmfPlusStructureObjectType
Inheritance
object ← MetaObject ← EmfPlusObject ← EmfPlusStructureObjectType ← EmfPlusPenData
Inherited Members
object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
EmfPlusPenData()
public EmfPlusPenData()
Properties
OptionalData
Gets or sets 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.
public EmfPlusPenOptionalData OptionalData { get; set; }
Property Value
PenDataFlags
Gets or sets 32-bit unsigned integer that specifies the data in the OptionalData field. This value MUST be composed of PenData flags (section 2.1.2.7).
public EmfPlusPenDataFlags PenDataFlags { get; set; }
Property Value
PenUnit
Gets or sets 32-bit unsigned integer that specifies the measuring units for the pen. The value MUST be from the UnitType enumeration (section 2.1.1.33).
public EmfPlusUnitType PenUnit { get; set; }
Property Value
PenWidth
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
public float PenWidth { get; set; }