This content has been marked as final. Show 3 replies
you can't use enums - you need to use numbers
for PDF it is:
Const idPDFType = 1952403524 (&H745F5044)
Member of InDesign.idExportFormat
thx for the quick answer. this piece of code is from a sample and i changed id to this one:
in the very top of the program - using InDesign (so that the idExportFormat works)
doc.Export(idExportFormat.idPDFType, "C:\\indesignTestFile.pdf", false, //object using)
now i have no idea what i should enter at object using
could you explain that to me a little bit further? do i have to make a constant var that has the value 1952403524 and then use idExportFormat.idPDFType as well or idExportFormat(1952403524)?
i haven't progged a while and i feel a little bit dumb right now =D so sorry for this newbie questions.
thanks for your help, i realy appreciate that
i solved it by myself.
doc.Export(idExportFormat.idPDFType, "C:\\testfile.pdf", false, App.PDFExportPresets.FirstItem());