Packages

 

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

Classes

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

Class EmfColorCorrectPalette

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


    public final class EmfColorCorrectPalette
    extends EmfObjectManipulationRecordType

    The EMR_COLORCORRECTPALETTE record specifies how to correct the entries of a logical palette object using WCS 1.0 values.

    • Constructor Summary

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      int getIhPalette()
      Gets a 32-bit unsigned integer that specifies index of a logical palette object (section 2.2.17) in the EMF Object Table (section 3.1.1.1).
      int getNFirstEntry()
      Gets a 32-bit unsigned integer that specifies the index of the first entry to correct.
      int getNPalEntries()
      Gets a 32-bit unsigned integer that specifies the number of palette entries to correct.
      void setIhPalette(int value)
      Sets a 32-bit unsigned integer that specifies index of a logical palette object (section 2.2.17) in the EMF Object Table (section 3.1.1.1).
      void setNFirstEntry(int value)
      Sets a 32-bit unsigned integer that specifies the index of the first entry to correct.
      void setNPalEntries(int value)
      Sets a 32-bit unsigned integer that specifies the number of palette entries to correct.
    • Constructor Detail

      • EmfColorCorrectPalette

        public EmfColorCorrectPalette(EmfRecord source)

        Initializes a new instance of the EmfColorCorrectPalette class.

        Parameters:
        source - The source.
    • Method Detail

      • getIhPalette

        public int getIhPalette()

        Gets a 32-bit unsigned integer that specifies index of a logical palette object (section 2.2.17) in the EMF Object Table (section 3.1.1.1).

      • setIhPalette

        public void setIhPalette(int value)

        Sets a 32-bit unsigned integer that specifies index of a logical palette object (section 2.2.17) in the EMF Object Table (section 3.1.1.1).

      • getNFirstEntry

        public int getNFirstEntry()

        Gets a 32-bit unsigned integer that specifies the index of the first entry to correct.

      • setNFirstEntry

        public void setNFirstEntry(int value)

        Sets a 32-bit unsigned integer that specifies the index of the first entry to correct.

      • getNPalEntries

        public int getNPalEntries()

        Gets a 32-bit unsigned integer that specifies the number of palette entries to correct.

      • setNPalEntries

        public void setNPalEntries(int value)

        Sets a 32-bit unsigned integer that specifies the number of palette entries to correct.