SlidesLayoutOptions

IRenderingOptions.SlidesLayoutOptions property

Gets or sets the mode in which slides are placed on the page when exporting a presentation ISlidesLayoutOptions.

public ISlidesLayoutOptions SlidesLayoutOptions { get; set; }

Examples

Example:

[C#]
using (Presentation pres = new Presentation("pres.pptx"))
{
    RenderingOptions options = new RenderingOptions
    {
        SlidesLayoutOptions = new HandoutLayoutingOptions
        {
            Handout = HandoutType.Handouts4Horizontal,
            PrintSlideNumbers = false
        }
    };
    
    Bitmap[] handoutSlides = pres.GetThumbnails(options);
    for (var index = 0; index < handoutSlides.Length; index++)
    {
        var handoutSllide = handoutSlides[index];
        handoutSllide.Save($"handout-{index}.png");
    }
}

See Also