Class EmfExtCreatePen
Namespace: Aspose.Imaging.FileFormats.Emf.Emf.Records
Assembly: Aspose.Imaging.dll (25.2.0)
The EMR_EXTCREATEPEN record defines an extended logical pen for graphics operations. An optional DIB can be specified to use as the line style.
public sealed class EmfExtCreatePen : EmfObjectCreationRecordType
Inheritance
object ← MetaObject ← EmfRecord ← EmfObjectCreationRecordType ← EmfExtCreatePen
Inherited Members
EmfRecord.Type, EmfRecord.Size, object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
EmfExtCreatePen(EmfRecord)
Initializes a new instance of the Aspose.Imaging.FileFormats.Emf.Emf.Records.EmfExtCreatePen class.
public EmfExtCreatePen(EmfRecord record)
Parameters
record
EmfRecord
The record.
EmfExtCreatePen()
Initializes a new instance of the Aspose.Imaging.FileFormats.Emf.Emf.Records.EmfExtCreatePen class.
public EmfExtCreatePen()
Properties
BitmapBuffer
Gets or sets an optional buffer containing a packed DIB in the form of a WMF DeviceIndependentBitmap object ([MS-WMF] section 2.2.2.9). It is not required to be contiguous with the fixed portion of the EMR_EXTCREATEPEN record
public WmfDeviceIndependentBitmap BitmapBuffer { get; set; }
Property Value
Elp
Gets or sets a LogPenEx object (section 2.2.20) that specifies an extended logical pen with attributes including an optional line style array.
public EmfLogPenEx Elp { get; set; }
Property Value
IhPen
Gets or sets 32-bit unsigned integer that specifies the index of the extended 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; }