PageSetup ps = doc.FirstSection.PageSetup;
// Set the height to be 22 inches tall
ps.PageHeight = 22 * 72;
Was there any point in the past where documents like this showed as a complete thumbnail as taken from the web layout? I thought this had worked sometime in the past year or so. We have been using the below code since March 2012 and we currently have documents that were saved previously in this format that do have a full thumbnail. I’ll try and figure out which version we were using and let you know.
I was wrong about it working in the past. I saw a few that looked correct in our production environment and thought they were generated thumbnails, but it looks like they were manually uploaded thumbnails from a screenshot or something.