I am looking for a PDF library that can help me detect if a PDF file is a Portfolio PDF file or not.
Can I use PDFTron SDK for this?
As a starting point please take a look at PDFPackage sample:
http://www.pdftron.com/pdfnet/samplecode.html#PDFPackage
For more info please see:
How can I find out if a PDF document is a PDF Collection (a.k.a. PDF Package)?
https://groups.google.com/d/topic/pdfnet-sdk/72sCrP_wuvc/discussion
How do I create PDF Portfolios?
How do extract parts from a PDF Package?
https://groups.google.com/d/topic/pdfnet-sdk/X__KPK2uwLc/discussion
https://groups.google.com/d/topic/pdfnet-sdk/82FUhgnT45E/discussion
As far as we know there is no difference between a PDF package and PDF Portfolio.
'PDF Portfolio' is essentially Adobe’s marketing terms for 'PDF package'. If you search ISO 32000 (i.e. PDF Spec) for 'Portfolio' you will not find any matches.