I have made a custom application to convert .slddrw files to PDF. I used the same code provided on this page: 2017 SOLIDWORKS API Help - Save File as PDF Example (C#)
But the converted PDF only has the meta info in the bottom. The drawings are not to be seen. PFA the code I use. Please let me know what I doing wrong here.