set_Handout()

HandoutLayoutingOptions::set_Handout(HandoutType) method

Specifies how many slides and in what sequence will be placed on the page HandoutType.

void Aspose::Slides::Export::HandoutLayoutingOptions::set_Handout(HandoutType value)

Remarks

Default value is HandoutType::Handouts6Horizontal.

Example:

System::SharedPtr<Presentation> pres = System::MakeObject<Presentation>(u"pres.pptx");

System::SharedPtr<HandoutLayoutingOptions> handoutLayoutingOptions = System::MakeObject<HandoutLayoutingOptions>();
handoutLayoutingOptions->set_Handout(HandoutType::Handouts4Horizontal);

System::SharedPtr<RenderingOptions> options = System::MakeObject<RenderingOptions>();
options->set_SlidesLayoutOptions(handoutLayoutingOptions);

System::Drawing::Size size(1920, 1080);
pres->get_Slide(0)->GetThumbnail(options, size)->Save(u"pres-handout.png");

See Also