Conversion to Tiff with Notes
Contents
[
Hide
]
TIFF is one of several widely used image formats that Aspose.Slides for .NET supports for converting a presentation with notes to images. You can also generate slide thumbnails in the Notes Slide view. Below are two code snippets that shows how to generate TIFF images of a presentation in Notes Slide view.
The Save method exposed by the Presentation Class can be used to convert the whole presentation in Notes Slide view to TIFF. You can also generate a slide thumbnail in Notes Slide view for individual slides.
using Aspose.Slides;
using Aspose.Slides.Export;
string FilePath = @"..\..\..\Sample Files\";
string srcFileName = FilePath + "Tiff conversion with note.pptx";
string destFileName = FilePath + "Tiff conversion with note.tiff";
//Instantiate a Presentation object that represents a presentation file
using (Presentation pres = new Presentation(srcFileName))
{
//Place the speaker notes under each rendered slide
TiffOptions tiffOptions = new TiffOptions();
tiffOptions.SlidesLayoutOptions = new NotesCommentsLayoutingOptions
{
NotesPosition = NotesPositions.BottomFull
};
//Saving the presentation to TIFF with notes
pres.Save(destFileName, SaveFormat.Tiff, tiffOptions);
}