Do one thing. Read file name first.
-
In Assign, String filename = Path.GetFileNameWithoutExtension(item)
-
Export to PDF, pass like this “folderPath"+filename+”.pdf"
Do one thing. Read file name first.
In Assign, String filename = Path.GetFileNameWithoutExtension(item)
Export to PDF, pass like this “folderPath"+filename+”.pdf"