Packages

 

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

Classes

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

Class EmfSelectPalette

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


    public final class EmfSelectPalette
    extends EmfObjectManipulationRecordType

    The EMR_SELECTPALETTE record specifies a logical palette for the playback device context.

    • Constructor Summary

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      int getIhPal()
      Gets or sets a 32-bit unsigned integer that specifies either the index of a LogPalette object (section 2.2.17) in the EMF Object Table or the value DEFAULT_PALETTE, which is the index of a stock object palette from the StockObject enumeration (section 2.1.31).
      void setIhPal(int value)
      Gets or sets a 32-bit unsigned integer that specifies either the index of a LogPalette object (section 2.2.17) in the EMF Object Table or the value DEFAULT_PALETTE, which is the index of a stock object palette from the StockObject enumeration (section 2.1.31).
    • Constructor Detail

      • EmfSelectPalette

        public EmfSelectPalette(EmfRecord source)

        Initializes a new instance of the EmfSelectPalette class.

        Parameters:
        source - The source.
    • Method Detail

      • getIhPal

        public int getIhPal()

        Gets or sets a 32-bit unsigned integer that specifies either the index of a LogPalette object (section 2.2.17) in the EMF Object Table or the value DEFAULT_PALETTE, which is the index of a stock object palette from the StockObject enumeration (section 2.1.31).

        This value MUST NOT be zero or the index of any other stock object.

      • setIhPal

        public void setIhPal(int value)

        Gets or sets a 32-bit unsigned integer that specifies either the index of a LogPalette object (section 2.2.17) in the EMF Object Table or the value DEFAULT_PALETTE, which is the index of a stock object palette from the StockObject enumeration (section 2.1.31).

        This value MUST NOT be zero or the index of any other stock object.