Packages

 

com.aspose.imaging.fileformats.emf.emf.records

Classes

com.aspose.imaging.fileformats.emf.emf.records

Class EmfExtCreatePen

  • All Implemented Interfaces:
    com.aspose.imaging_internal.fileformats.emf.IRecord, Cloneable


    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.

    • Constructor Summary

      Constructors 
      Constructor and Description
      EmfExtCreatePen()
      Initializes a new instance of the EmfExtCreatePen class.
      EmfExtCreatePen(EmfRecord record)
      Initializes a new instance of the EmfExtCreatePen class.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      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).
      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).
      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 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).
    • Constructor Detail

      • EmfExtCreatePen

        public EmfExtCreatePen(EmfRecord record)

        Initializes a new instance of the EmfExtCreatePen class.

        Parameters:
        record - The record.
      • EmfExtCreatePen

        public EmfExtCreatePen()

        Initializes a new instance of the EmfExtCreatePen class.

    • Method Detail

      • 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.

      • setIhPen

        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.

      • 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.

      • setElp

        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.

      • 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

      • setBitmapBuffer

        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