EmfExtCreatePen

Inheritance: java.lang.Object, com.aspose.imaging.fileformats.emf.MetaObject, com.aspose.imaging.fileformats.emf.emf.records.EmfRecord, com.aspose.imaging.fileformats.emf.emf.records.EmfObjectCreationRecordType

public final class EmfExtCreatePen extends EmfObjectCreationRecordType

The EMR_EXTCREATEPEN record defines an extended logical pen for graphics operations. An optional DIB can be specified to use as the line style.

Constructors

ConstructorDescription
EmfExtCreatePen(EmfRecord record)Initializes a new instance of the EmfExtCreatePen class.
EmfExtCreatePen()Initializes a new instance of the EmfExtCreatePen class.

Methods

MethodDescription
getIhPen()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).
setIhPen(int value)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).
getElp()Gets or sets a LogPenEx object (section 2.2.20) that specifies an extended logical pen with attributes including an optional line style array.
setElp(EmfLogPenEx value)Gets or sets a LogPenEx object (section 2.2.20) that specifies an extended logical pen with attributes including an optional line style array.
getBitmapBuffer()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).
setBitmapBuffer(WmfDeviceIndependentBitmap value)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).

EmfExtCreatePen(EmfRecord record)

public EmfExtCreatePen(EmfRecord record)

Initializes a new instance of the EmfExtCreatePen class.

Parameters:

ParameterTypeDescription
recordEmfRecordThe record.

EmfExtCreatePen()

public EmfExtCreatePen()

Initializes a new instance of the EmfExtCreatePen class.

getIhPen()

public int getIhPen()

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.

Returns: int

setIhPen(int value)

public void setIhPen(int value)

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.

Parameters:

ParameterTypeDescription
valueint

getElp()

public EmfLogPenEx getElp()

Gets or sets a LogPenEx object (section 2.2.20) that specifies an extended logical pen with attributes including an optional line style array.

Returns: EmfLogPenEx

setElp(EmfLogPenEx value)

public void setElp(EmfLogPenEx value)

Gets or sets a LogPenEx object (section 2.2.20) that specifies an extended logical pen with attributes including an optional line style array.

Parameters:

ParameterTypeDescription
valueEmfLogPenEx

getBitmapBuffer()

public WmfDeviceIndependentBitmap getBitmapBuffer()

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

Returns: WmfDeviceIndependentBitmap

setBitmapBuffer(WmfDeviceIndependentBitmap value)

public void setBitmapBuffer(WmfDeviceIndependentBitmap value)

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

Parameters:

ParameterTypeDescription
valueWmfDeviceIndependentBitmap