I am experiencing issues trying to set the default zoom mode of the viewer to 'FitWidth'.
I'm setting the property via...
Code: Select all
// this line should be setting the default property
pdfXChangeViewer.SetProperty("PageDisplay.DefaultZoom", "FitWidth", 0);
Code: Select all
pdfXChangeViewer.GetProperty("PageDisplay.DefaultZoom", out dataOut, 0);
Code: Select all
pdfXChangeViewer.GetProperty("Documents[activeDocument].Pages.ZoomMode", out dataOut, 0);
Any idea why there would be discrepancy between what the defaultzoom is set at and what the zoom of the file is after it is loaded?
Thanks in advance