Conversion from PowerPoint to TIFF may be useful in order to fax the presentation files or send them off for printing. Spire.Presentation provides straightforward method SaveToFile to do the conversion, which automatically detects presentation slides and convert them to TIFF image (one image per slide).
Step 1: Create an instance of Presentation class.
Presentation ppt = new Presentation();
Step 2: Load a PowerPoint file.
ppt.LoadFromFile("template.pptx");
Step 3: Save to TIFF format file.
ppt.SaveToFile("toTIFF.tiff", FileFormat.Tiff);
Output:
Full Code:
[C#]
using Spire.Presentation; namespace PPTtoTIFF { class Program { static void Main(string[] args) { Presentation ppt = new Presentation(); ppt.LoadFromFile("template.pptx"); ppt.SaveToFile("toTIFF.tiff", FileFormat.Tiff); } } }
[VB.NET]
Imports Spire.Presentation Namespace PPTtoTIFF Class Program Private Shared Sub Main(args As String()) Dim ppt As New Presentation() ppt.LoadFromFile("template.pptx") ppt.SaveToFile("toTIFF.tiff", FileFormat.Tiff) End Sub End Class End Namespace