/// <summary>
        /// Replaces a page in a PDF with another PDF
        /// </summary>
        /// <param name="pdftk">The IPDFtk object.</param>
        /// <param name="pdfFile">A stream of the PDF file input.</param>
        /// <param name="page">The page to replace</param>
        /// <param name="replacementPdfFile">A stream of the PDF file to replace the page with.</param>
        /// <returns>A result with the PDF form filled as a byte array.</returns>
        public static async Task <IPDFtkResult <byte[]> > ReplacePage(this IPDFtk pdftk, Stream pdfFile, int page, Stream replacementPdfFile)
        {
            using var inputFile = await TempPDFtkFile.FromAsync(pdfFile);

            using var replacementFile = await TempPDFtkFile.FromAsync(replacementPdfFile);

            return(await pdftk.ReplacePage(inputFile.TempFileName, page, replacementFile.TempFileName));
        }
        /// <summary>
        /// Replaces a page in a PDF with another PDF
        /// </summary>
        /// <param name="pdftk">The IPDFtk object.</param>
        /// <param name="fileBytes">A byte array of the PDF file input.</param>
        /// <param name="page">The page to replace</param>
        /// <param name="replacementFileBytes">A byte array of the PDF file to replace the page with.</param>
        /// <returns>A result with the PDF form filled as a byte array.</returns>
        public static async Task <IPDFtkResult <byte[]> > ReplacePage(this IPDFtk pdftk, byte[] fileBytes, int page, byte[] replacementFileBytes)
        {
            using var inputFile = await TempPDFtkFile.FromAsync(fileBytes);

            using var replacementFile = await TempPDFtkFile.FromAsync(replacementFileBytes);

            return(await pdftk.ReplacePage(inputFile.TempFileName, page, replacementFile.TempFileName));
        }