Class EmfCreatePen
Namespace: Aspose.Imaging.FileFormats.Emf.Emf.Records
Assembly: Aspose.Imaging.dll (25.7.0)
The EMR_CREATEPEN record defines a logical pen for graphics operations.
public sealed class EmfCreatePen : EmfObjectCreationRecordType
{
public int nPen;
public PenStyle penStyle;
public short bReserved;
public short cpt;
public ushort[] rgbColors;
public float[] xy;
}
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 inthe EMF Object Table (section 3.1.1.1). This index MUST be saved so that this object can bereused or modified.
public int IhpPen
{
get;
set;
}
Property Value
LogPen
Gets or sets a LogPen object (section 2.2.19) that specifies the style, width, and colorof the logical pen.
public EmfLogPen LogPen
{
get;
set;
}