Using Aspose.Pdf or Aspose.Pdf.Kit, is there a way to determine whether or not a PDF is a "Portfolio" PDF?
For example- the attached PDF is a Portfolio PDF. It displays differently in Adobe Reader than normal PDFs do, and the "File > Save" option in Adobe Reader is displayed as "File > Save Portfolio".
I’m sorry to inform you that this feature is currently not supported, however I have logged this feature request as PDFKITNET-17286 in our issue tracking system. Our team will look into this requirement and you’ll be updated via this forum thread once it is resolved.
You can use HasCollection property of PdfFileInfo class to check whether a file is a portfolio file or not. This property should return true in case of a portfolio file. You can use the following code snippet:
PdfFileInfo fileInfo = new PdfFileInfo(“input.pdf”);
bool isPortfolio = fileInfo.HasCollection;
I hope this helps. If you have any further questions, please do let us know. Regards,