pdfHummusTest1.cpp 495 B

1234567891011121314
  1. /* Found that previous library was complied with the MSVC compiler and not compatible with GNU toolchain. Tried to use Msys with PDFHummus Cmake build tools and it was hard-coded
  2. * to MSVC. So building for GNU compiler will take some modification of Cmake.
  3. */
  4. #include <stdlib.h>
  5. #include <iostream>
  6. #include "PDFWriter/PDFWriter.h"
  7. int main(){
  8. PDFWriter pdfWriter;
  9. pdfWriter.StartPDF("c:\\myFile.pdf",ePDFVersion13);
  10. // ...add content to PDF file...
  11. pdfWriter.EndPDF();
  12. }