Class EmfCreatePen
Namespace: Aspose.Imaging.FileFormats.Emf.Emf.Records
Assembly: Aspose.Imaging.dll (25.2.0)
The EMR_CREATEPEN record defines a logical pen for graphics operations.
public sealed class EmfCreatePen : EmfObjectCreationRecordType
Inheritance
object ← MetaObject ← EmfRecord ← EmfObjectCreationRecordType ← EmfCreatePen
Inherited Members
EmfRecord.Type, EmfRecord.Size, object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
EmfCreatePen(EmfRecord)
Initializes a new instance of the Aspose.Imaging.FileFormats.Emf.Emf.Records.EmfCreatePen class.
public EmfCreatePen(EmfRecord source)
Parameters
source
EmfRecord
The source.
EmfCreatePen()
Initializes a new instance of the Aspose.Imaging.FileFormats.Emf.Emf.Records.EmfCreatePen class.
public EmfCreatePen()
Properties
IhPen
Gets or sets a 32-bit unsigned integer that specifies the index of the logical pen object in the EMF Object Table (section 3.1.1.1). This index MUST be saved so that this object can be reused or modified.
public int IhPen { get; set; }
Property Value
LogPen
Gets or sets a LogPen object (section 2.2.19) that specifies the style, width, and color of the logical pen.
public EmfLogPen LogPen { get; set; }