3 Replies Latest reply on Sep 16, 2008 1:01 AM by (lod_frostii)

    Export single Pages (as PDF) from a .indd file

      Hi folks

      i use ID CS2 and i'm trying to export single pages from an indd file (using C#).

      i tried to make an example first and thats my code so far:
      InDesign.Application App = (InDesign.Application) COMCreateObject("Indesign.Application");

      InDesign.Document doc = App.ActiveDocument;
      InDesign.Page page = (InDesign.Page)doc.Pages[1];

      doc.Export(IdExportFormat.idPDFType, @"C:\indesignTestFile.pdf", false, "[High Quality Print]", "Some Comment", true);

      Now it says that the IdExportFormat command is not known.
      any suggestions would be very great.

      kind regards