niidmore

niidmore

  • NA
  • 5
  • 0

word interop , integer value for saving file format

Feb 15 2008 8:41 AM
Hello All,
I have found a script here which convert doc file to html.
i want to change this slight to save in pdf instead of html.
all i want to know is what value should i give in fltDocFormat?
currently it is holding 10 for html files.
  oDoc.SaveAs(ref FileToSave, ref fltDocFormat, ref missing, ref missing, ref missing, ref missing,  ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing,  ref missing, ref missing);

can someone please let me know.
regards
sam  

Answers (1)