When cloning a slide into a new presentation that contains a video the Play Full Screen PowerPoint setting on the video is reset to false. The original slide has it set and plays full screen, the final presentation does not play full screen. Even if you set the property in code: video.FullScreenMode = true on the cloned video frame shape, it is still not set in the final presentation. We are using the latest version of Aspose Slides for .NET. Is there a proper way to force this property to be retained or set?
Sample Code:
class Program
{
static void Main(string[] args)
{
string inFileName = args[0];
string outFileName = args[1];
Aspose.Slides.Presentation pIn = new Aspose.Slides.Presentation(inFileName);
Aspose.Slides.Presentation pOut = new Aspose.Slides.Presentation();
foreach (var s in pIn.Slides)
{
pOut.Slides.AddClone(s);
}
foreach (var slide in pOut.Slides)
foreach (var shape in slide.Shapes.ToArray())
{
if (shape is Aspose.Slides.VideoFrame)
{
var video = (Aspose.Slides.VideoFrame)shape;
video.FullScreenMode = true;
}
}
pOut.Save(outFileName, Aspose.Slides.Export.SaveFormat.Pptx);
}
}