T
TillmanZ
Hi!
I am trying to publish a document as PDF using the ExportAsFixedFormat method.
This is how I am calling it:
oDoc.ExportAsFixedFormat("test.pdf", Word.WdExportFormat.wdExportFormatPDF,
false,
Word.WdExportOptimizeFor.wdExportOptimizeForPrint,
Word.WdExportRange.wdExportAllDocument, 1, 1,
Word.WdExportItem.wdExportDocumentContent, true, true,
Word.WdExportCreateBookmarks.wdExportCreateNoBookmarks, true, true, true,
oMissing);
This results in an error: System.ArgumentException Value is out of bounds (I
am manually translating here...)
Any idea why this does not work - or even better - is there a resource where
this method is explained in detail (with examples)?
Thanks for the support!
I am trying to publish a document as PDF using the ExportAsFixedFormat method.
This is how I am calling it:
oDoc.ExportAsFixedFormat("test.pdf", Word.WdExportFormat.wdExportFormatPDF,
false,
Word.WdExportOptimizeFor.wdExportOptimizeForPrint,
Word.WdExportRange.wdExportAllDocument, 1, 1,
Word.WdExportItem.wdExportDocumentContent, true, true,
Word.WdExportCreateBookmarks.wdExportCreateNoBookmarks, true, true, true,
oMissing);
This results in an error: System.ArgumentException Value is out of bounds (I
am manually translating here...)
Any idea why this does not work - or even better - is there a resource where
this method is explained in detail (with examples)?
Thanks for the support!