I am having problems with WPViewPDF switching in and out of Thumbnail mode. I always want to show thumbnails.
I have PageModeDefault set to wpPageModeThumbnails
I have ViewOptions with wpViewThumbNails set to true;
I also have wpInteractiveThumbNails set to true;
I also have this code executing after load a PDF:
WpViewPDF1.ViewOptions := [ wpViewThumbnails ];
WpViewPDF1.PageModeDefault := wpPageModeThumbnails;
WpViewPDF1.CommandEx(COMPDF_SetPageModeDefault, 1);
But still I have some PDF's that want to show no left bar, some want to show bookmarks and some want to show Thumbnails.
It seems to be behaving as though PageModeDefault is set to Auto.