EmfCreatePen

EmfCreatePen class

The EMR_CREATEPEN record defines a logical pen for graphics operations.

public sealed class EmfCreatePen : EmfObjectCreationRecordType

Constructors

NameDescription
EmfCreatePen()Initializes a new instance of the EmfCreatePen class.
EmfCreatePen(EmfRecord)Initializes a new instance of the EmfCreatePen class.

Properties

NameDescription
IhPen { get; set; }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.
LogPen { get; set; }Gets or sets a LogPen object (section 2.2.19) that specifies the style, width, and color of the logical pen.
Size { get; set; }Gets or sets the size of the record
Type { get; set; }Gets or sets the type.

See Also