Hi to everyone!
Does anyone knows How to access background color on a slide?
Thanks for the help,
Tair.
Hi to everyone!
Does anyone knows How to access background color on a slide?
Thanks for the help,
Tair.
Hi Tair,
Try this:
var presentation = PresentationDocument.Load("input.pptx");
foreach (var slide in presentation.Slides)
{
if (slide.Background.Fill.FillType == FillFormatType.Solid)
{
var solidFill = (SolidFillFormat)slide.Background.Fill;
Console.WriteLine(solidFill.Color);
}
}
Does this solve your issue?
Regards,
Mario
Yes!
Thank you so much!