//***************************************************************************
        // Public Methods
        //
        public TiffIdf AddIdf(int width, int height)
        {
            TiffIdf idf = new TiffIdf(this);

            this.SetTag(idf, TiffTagType.ImageWidth, width);
            this.SetTag(idf, TiffTagType.ImageHeight, height);
            this.SetTag(idf, TiffTagType.RowsPerStrip, height);
            this._images.Add(new Bitmap(width, height));
            return(idf);
        }
 //***************************************************************************
 // Internal Methods
 //
 internal void SetOwner(TiffIdf owner)
 {
     this._owner = owner;
 }
 //***************************************************************************
 // Class Constructors
 //
 internal TiffTag(TiffIdf owner, byte[] data)
 {
     this._owner = owner;
     this._raw   = data;
 }
 public TiffTag GetTag(TiffIdf idf, TiffTagType tagType)
 {
     return(this.GetTag(this._idfs.IndexOf(idf), tagType));
 }
 public void SetTag(TiffIdf idf, TiffTagType tagType, params object[] value)
 {
     this.SetTag(this._idfs.IndexOf(idf), tagType, value);
 }