Calling GetViewInfo for any PPTX file does not return the correct resolution.
We want to determine the resolution of the resulting PPTX file with the code below:
using (var viewer = new Viewer(documentPath)
{
var info = viewer.GetViewInfo(ViewInfoOptions.ForHtmlView());
But the info.Pages variable holds several pages that all have 960x540 pixels.
When I open one of the HTML files in a browser, it’s shown as 1280x720 pixels.
Are those values wrong, or do I adjust them somehow to get the expected outcome?
I tested with GroupDocs Viewer 21.5.0.
Please see the attached documents and screenshots:
PPTX page size.zip (1005.7 KB)