Table of Contents

Class EmfCreatePen

Namespace
Aspose.Imaging.FileFormats.Emf.Emf.Records
Assembly
Aspose.Imaging.dll

The EMR_CREATEPEN record defines a logical pen for graphics operations.

public sealed class EmfCreatePen : EmfObjectCreationRecordType
Inheritance
EmfCreatePen
Inherited Members

Constructors

EmfCreatePen()

Initializes a new instance of the EmfCreatePen class.

public EmfCreatePen()

EmfCreatePen(EmfRecord)

Initializes a new instance of the EmfCreatePen class.

public EmfCreatePen(EmfRecord source)

Parameters

source EmfRecord

The source.

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

int

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; }

Property Value

EmfLogPen