Hi,
I have two pdf documents frist one with one page (title cover) and second pdf with list of pages (190 pages).
And i have merged this two documents using ceTe.DynamicPDF.Merger.MergeDocument with MergeOptions.All and setting up InitialPageZoom =ceTe.DynamicPDF.PageZoom.FitWidth and finally drawn pdf (document.Draw()) using Draw method.
But when i have was open pdf after drawn , my pdf is showing second page (second document 1 st page) instead of first document (first page).
And i have also setting up property InitialPage = 0 , but still pdf is opening with second page, not first page.
public static byte[] MergeDocument(List<byte[]> _lstbytes, DocPdfVersion _version, PdfPageZoom _zoom, PdfDocFormat _pdfDocFormat )
{
MergeDocument document = new MergeDocument
{
PdfVersion = (ceTe.DynamicPDF.PdfVersion)_version,
InitialPageZoom = (ceTe.DynamicPDF.PageZoom.FitWidth)_zoom,
PdfFormat=(ceTe.DynamicPDF.PdfFormat)_pdfDocFormat,
InitialPage = 0
};
for (var i = 0; i < _lstbytes.Count ; i++)
{
document.Append(new ceTe.DynamicPDF.Merger.PdfDocument(_lstbytes[i]), MergeOptions.All);
}
document.InitialPage = 0;
var bytes = document.Draw();
return bytes;
}
Please look into this , we are licenced customers from Calyx.ai