Convert OST to PPTX

OST or Offline Storage Files represent the user’s mailbox data in offline mode on the local machine upon registration with Exchange Server using Microsoft Outlook. It is automatically created on the first use of Microsoft Outlook upon connectivity with the server. Once the file is created, the data is synchronized with the email server so that it is available offline as well in case of disconnectivity from the email server.

Steps to convert OST to PPTX in C#

GroupDocs.Conversion allows developers to convert the OST file to PPTX format in an easy and intuitive way just using a few lines of code as described below:

  • Create an instance of Converter class and pass source OST file path as a constructor parameter. You may specify absolute or relative file path as per your requirements.
  • Create an instance of PresentationConvertOptions class.
  • Call Converter class Convert method and pass the filename for the converted PPTX file and the PresentationConvertOptions object from the previous step as parameters.
string outputFile = "ost-converted-{0}-to.pptx";

// Load the source OST file
using (var converter = new GroupDocs.Conversion.Converter("sample.ost", fileType => fileType == PersonalStorageFileType.Ost
                                                                                                    ? new PersonalStorageLoadOptions()
                                                                                                    : null))
    var options = new PresentationConvertOptions();
	var counter = 1;
    // Save converted PPTX file
		(FileType fileType) => new FileStream(string.Format(outputFile, counter++), FileMode.Create),

Code Examples

Please find more use-cases and complete C# sources of our backend and frontend examples and try them for free!

OST to PPTX Live Demo

GroupDocs.Conversion for .NET provides an online OST to PPTX converter, which allows you to try it for free and check conversion quality and accuracy.

“Convert OST to PPTX”