public final class EmfCreatePen extends EmfObjectCreationRecordType
The EMR_CREATEPEN record defines a logical pen for graphics operations.
Constructor and Description |
---|
EmfCreatePen()
Initializes a new instance of the
EmfCreatePen class. |
EmfCreatePen(EmfRecord source)
Initializes a new instance of the
EmfCreatePen class. |
Modifier and Type | Method and Description |
---|---|
int |
getIhPen()
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).
|
EmfLogPen |
getLogPen()
Gets or sets a LogPen object (section 2.2.19) that specifies the style, width, and color
of the logical pen.
|
void |
setIhPen(int value)
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).
|
void |
setLogPen(EmfLogPen value)
Gets or sets a LogPen object (section 2.2.19) that specifies the style, width, and color
of the logical pen.
|
public EmfCreatePen(EmfRecord source)
Initializes a new instance of the EmfCreatePen
class.
source
- The source.public EmfCreatePen()
Initializes a new instance of the EmfCreatePen
class.
public int getIhPen()
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 void setIhPen(int value)
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 EmfLogPen getLogPen()
Gets or sets a LogPen object (section 2.2.19) that specifies the style, width, and color of the logical pen.
public void setLogPen(EmfLogPen value)
Gets or sets a LogPen object (section 2.2.19) that specifies the style, width, and color of the logical pen.