EmfExtCreatePen

Inheritance: java.lang.Object, com.aspose.barcode.drawing.emf.records.EmfRecord, com.aspose.barcode.drawing.emf.records.EmfHandleRecord

public class EmfExtCreatePen extends EmfHandleRecord

EMR_EXTCREATEPEN Record

Constructors

Constructor Description
EmfExtCreatePen()
EmfExtCreatePen(int aHandle, System.Drawing.Color Color)
EmfExtCreatePen(int aHandle, System.Drawing.Color Color, int Thickness, PenDashStyle DashStyle)

Fields

Field Description
BitmapBuffer An optional buffer containing a packed DIB in the form of a WMF DeviceIndependentBitmap object ([MS-WMF] section 2.2.2.9).
CbBits 32-bit unsigned integer that specifies the size of the DIB bits, if the record contains a DIB.
CbBmi A 32-bit unsigned integer that specifies the size of the DIB header, if the record contains a DIB.
Elp A LogPenEx object (section 2.2.20) that specifies an extended logical pen with attributes including an optional line style array.
Handle Specifies Handle of the object
OffBits 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.
OffBmi 32-bit unsigned integer that specifies the offset from the start of this record to the DIB header, if the record contains a DIB.
RecordType The type of the record
Size The size of the record

Methods

Method Description
equals(Object arg0)
getClass()
hashCode()
notify()
notifyAll()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

EmfExtCreatePen()

public EmfExtCreatePen()

EmfExtCreatePen(int aHandle, System.Drawing.Color Color)

public EmfExtCreatePen(int aHandle, System.Drawing.Color Color)

Parameters:

Parameter Type Description
aHandle int
Color com.aspose.ms.System.Drawing.Color

EmfExtCreatePen(int aHandle, System.Drawing.Color Color, int Thickness, PenDashStyle DashStyle)

public EmfExtCreatePen(int aHandle, System.Drawing.Color Color, int Thickness, PenDashStyle DashStyle)

Parameters:

Parameter Type Description
aHandle int
Color com.aspose.ms.System.Drawing.Color
Thickness int
DashStyle PenDashStyle

BitmapBuffer

public byte[] BitmapBuffer

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 WmfDeviceIndependentBitmap BitmapBuffer;

CbBits

public long CbBits

32-bit unsigned integer that specifies the size of the DIB bits, if the record contains a DIB.

CbBmi

public long CbBmi

A 32-bit unsigned integer that specifies the size of the DIB header, if the record contains a DIB.

Elp

public EmfLogPenEx Elp

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

Handle

public int Handle

Specifies Handle of the object

OffBits

public long OffBits

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.

OffBmi

public long OffBmi

32-bit unsigned integer that specifies the offset from the start of this record to the DIB header, if the record contains a DIB.

RecordType

public long RecordType

The type of the record

Size

public int Size

The size of the record

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

Parameter Type Description
arg0 java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

Parameter Type Description
arg0 long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

Parameter Type Description
arg0 long
arg1 int