Packages

 

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

Classes

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

Class EmfCreatePen

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


    public final class EmfCreatePen
    extends EmfObjectCreationRecordType

    The EMR_CREATEPEN record defines a logical pen for graphics operations.

    • Constructor Summary

      Constructors 
      Constructor and Description
      EmfCreatePen()
      Initializes a new instance of the EmfCreatePen class.
      EmfCreatePen(EmfRecord source)
      Initializes a new instance of the EmfCreatePen class.
    • Constructor Detail

      • EmfCreatePen

        public EmfCreatePen(EmfRecord source)

        Initializes a new instance of the EmfCreatePen class.

        Parameters:
        source - The source.
      • EmfCreatePen

        public EmfCreatePen()

        Initializes a new instance of the EmfCreatePen class.

    • Method Detail

      • getIhPen

        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.

      • setIhPen

        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.

      • getLogPen

        public EmfLogPen getLogPen()

        Gets or sets a LogPen object (section 2.2.19) that specifies the style, width, and color of the logical pen.

      • setLogPen

        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.