I have an app for which I am creating the screenshots for the Windows Store. Some of the screenshots are landscape, and others are portrait (I want to show what it looks like in both orientations). If I take the screenshot before changing the orientation, it copies the correct size, but once I have changed the orientation one or more times (even if I change it back to the original orientation), it copies the wrong size. For example, here are the steps & results that I got:
1. Start simulator
2. Copy screenshot: Gives me 1366x768 as expected
3. Rotate clockwise
4. Copy screenshot: Gives me 1152x2049 when I expected 768x1366
5. Rotate counterclockwise
6. Copy screenshot: Gives me 2049x1152
Some of the things I noticed were:
1.The unexpected sizes only happened AFTER the simulator had been rotated, not before
2. The unexpected sizes are a 1.5 scale ratio to the expected ones
3. If I paste the unexpected sizes into Paint (or any other image editor), the content is not the expected image scaled by 1.5, it is the expected image with extra black space on the right and bottom
I suppose since the content is padded rather than scaled I could just crop it and then use it for my screenshots, but why is the simulator suddenly giving incorrect dimensions when getting a screenshot? I don't remember it ever doing this before. Is it a bug from updating to Visual Studio 2013, or is there something I can do to fix it? Thanks.
Nathan Sokalski njsokalski@hotmail.com http://www.nathansokalski.com/