1
Answer

word interop , integer value for saving file format

Ask a question
niidmore

niidmore

16y
2.9k
1
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)