Hi, when i concat a PDF with only images to a Gembox.Document, i get empty pages:
inputdoc = DocumentModel.Load(new MemoryStream(mybytearray), new GemBox.Document.PdfLoadOptions());
outputpdfdocument.Content.End.InsertRange(inputdoc.Content);
When I use a pdf with text, everything works fine.
When i try to load the pdf into Gembox.Pdf and then add it to document:
pdfin = GemBox.Pdf.PdfDocument.Load(new MemoryStream(mybytearray);
pdfin.SaveOptions.CrossReferenceType = PdfCrossReferenceType.Table;
var pdfStream = new MemoryStream();
pdfin.Save(pdfStream);
var document = DocumentModel.Load(pdfStream, LoadOptions.PdfDefault);
outputpdfdocument.Content.End.InsertRange(document.Content);
I get an exception at DocumentModel.Load
, Input string is not in a correct format.
Regards, Danny