Class HwmfDraw.WmfSelectObject

  • All Implemented Interfaces:
    GenericRecord, HwmfRecord
    Direct Known Subclasses:
    HemfDraw.EmfSelectObject
    Enclosing class:
    HwmfDraw

    public static class HwmfDraw.WmfSelectObject
    extends Object
    implements HwmfRecord
    The META_SELECTOBJECT record specifies a graphics object for the playback device context. The new object replaces the previous object of the same type, unless if the previous object is a palette object. If the previous object is a palette object, then the META_SELECTPALETTE record must be used instead of the META_SELECTOBJECT record, as the META_SELECTOBJECT record does not support replacing the palette object type.
    • Field Detail

      • objectIndex

        protected int objectIndex
        A 16-bit unsigned integer used to index into the WMF Object Table to get the object to be selected.
    • Constructor Detail

      • WmfSelectObject

        public WmfSelectObject()