Код: Выделить всё
#include
#include
using namespace std;
using namespace PoDoFo;
int main() {
string input = "fourier_series.pdf";
// Enable debug messages to diagnose issues
// PdfError::EnableDebug(true);
// Load input PDF
PdfMemDocument inputPdf(input.c_str());
int pageCount = inputPdf.GetPageCount();
cout
Подробнее здесь: [url]https://stackoverflow.com/questions/79497026/create-a-new-pdf-file-from-an-existing-pdf-file-using-c-and-podofo-library[/url]