Skip to main content

Posts

Showing posts with the label asp.net converting ppt/pps to pdf

Code for converting ppt/pps to pdf

public static int ConvertPowerPointToPDF()         {  string InputFilePath = @"C:\Users\\Desktop\tst1.pps";             string OutputFilePath = @"C:\Users\\Desktop\tst1.pdf";             int Errors = 0;             Microsoft.Office.Interop.PowerPoint._Application PPApplication = null;             Presentation PPDoc = null;             try             {                 // Start an instance of PowerPoint                 PPApplication = new Application();  ...