public 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.
Constructor and Description |
---|
EmfExtCreatePen(EmfRecord record)
Initializes a new instance of the
EmfExtCreatePen class. |
Modifier and Type | Method and Description |
---|---|
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).
|
int |
getCbBits()
Gets or sets 32-bit unsigned integer that specifies the size of the DIB bits,
if the record contains a DIB.
|
int |
getCbBmi()
Gets or sets a 32-bit unsigned integer that specifies the size of the DIB header,
if the record contains a DIB.
|
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.
|
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).
|
int |
getOffBits()
Gets or sets a 32-bit unsigned integer that specifies the offset from the start
of this record to the DIB bits, if the record contains a DIB.
|
int |
getOffBmi()
Gets or sets 32-bit unsigned integer that specifies the offset from the start of
this record to the DIB header, if the record contains a DIB.
|
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).
|
void |
setCbBits(int value)
Gets or sets 32-bit unsigned integer that specifies the size of the DIB bits,
if the record contains a DIB.
|
void |
setCbBmi(int value)
Gets or sets a 32-bit unsigned integer that specifies the size of the DIB header,
if the record contains a DIB.
|
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.
|
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).
|
void |
setOffBits(int value)
Gets or sets a 32-bit unsigned integer that specifies the offset from the start
of this record to the DIB bits, if the record contains a DIB.
|
void |
setOffBmi(int value)
Gets or sets 32-bit unsigned integer that specifies the offset from the start of
this record to the DIB header, if the record contains a DIB.
|
getSize, getType, setSize, setType
deepClone_internalized
public EmfExtCreatePen(EmfRecord record)
Initializes a new instance of the EmfExtCreatePen
class.
record
- The record.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.
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.
public int getOffBmi()
Gets or sets 32-bit unsigned integer that specifies the offset from the start of this record to the DIB header, if the record contains a DIB.
public void setOffBmi(int value)
Gets or sets 32-bit unsigned integer that specifies the offset from the start of this record to the DIB header, if the record contains a DIB.
public int getCbBmi()
Gets or sets a 32-bit unsigned integer that specifies the size of the DIB header, if the record contains a DIB.
public void setCbBmi(int value)
Gets or sets a 32-bit unsigned integer that specifies the size of the DIB header, if the record contains a DIB.
public int getOffBits()
Gets or sets a 32-bit unsigned integer that specifies the offset from the start of this record to the DIB bits, if the record contains a DIB.
public void setOffBits(int value)
Gets or sets a 32-bit unsigned integer that specifies the offset from the start of this record to the DIB bits, if the record contains a DIB.
public int getCbBits()
Gets or sets 32-bit unsigned integer that specifies the size of the DIB bits, if the record contains a DIB.
public void setCbBits(int value)
Gets or sets 32-bit unsigned integer that specifies the size of the DIB bits, if the record contains a DIB.
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.
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.
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
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
Copyright (c) 2008-2016 Aspose Pty Ltd. All Rights Reserved.