BitMiracle.LibTiff.Classic.Tiff.Flush C# (CSharp) Method

Flush() public method

Flushes pending writes to an open TIFF file.
Flush causes any pending writes for the specified file (including writes for the current directory) to be done. In normal operation this call is never needed − the library automatically does any flushing required.
public Flush ( ) : bool
return bool
        public bool Flush()
        {
            if (m_mode != O_RDONLY)
            {
                if (!FlushData())
                    return false;

                if ((m_flags & TiffFlags.DIRTYDIRECT) == TiffFlags.DIRTYDIRECT && !WriteDirectory())
                    return false;
            }

            return true;
        }
Tiff