Render NSF files
NSF (Notes Storage Facility) is a database format, developed by IBM. It contains e-mail messages, contacts, and appointments.
View NSF files
The NSF files can be opened with IBM Notes. In case you need to view an NSF file in a browser or in a standard image or PDF viewer application, you can convert it to HTML, JPEG, PNG PDF format with GroupDocs.Viewer for .NET.
Convert NSF to HTML
To convert NSF files to HTML with GroupDocs.Viewer for .NET use the following code:
using (Viewer viewer = new Viewer("sample.nsf"))
{
HtmlViewOptions options = HtmlViewOptions.ForEmbeddedResources("output.html");
viewer.View(options);
}
The following screenshot shows the output HTML file opened in a browser.
Convert NSF to JPG
To convert OST and PST files to JPG with GroupDocs.Viewer for .NET use following code:
using (Viewer viewer = new Viewer("sample.nsf"))
{
JpgViewOptions options = new JpgViewOptions("output_{0}.jpg");
viewer.View(options);
}
The following screenshot shows the output JPG file opened in a Windows Photo Viewer application.
Convert NSF to PNG
To convert NSF files to PNG with GroupDocs.Viewer for .NET use following code:
using (Viewer viewer = new Viewer("sample.nsf"))
{
PngViewOptions options = new PngViewOptions("output_{0}.png");
viewer.View(options);
}
The following screenshot shows the output PNG file opened in a Windows Photo Viewer application.
Convert NSF files to PDF
To convert OST/PST files to PDF with GroupDocs.Viewer for .NET use following code:
using (Viewer viewer = new Viewer("sample.nsf"))
{
PdfViewOptions options = new PdfViewOptions("output.pdf");
viewer.View(options);
}
The following screenshot shows the output PDF file opened in a browser.