Giordano Bruno
Well-known Member
- Joined
- Jan 7, 2007
- Messages
- 1,356
I have an image called Picture1 and I want it to fit the size of any screen. The aspect ratio is > 2:1 so I guess that some of the right hand side of the picture will not be visible. I can get the screen size and also the picture size, but when I try to adjust them, the calculation doesn't stack up.
Selection.ShapeRange.Width give the width of the picture as 1120. GetSystemMetrics (SM_CXSCREEN) gives the width of the screen as 2736 yet the picture is larger than the screen. Does anyone have an explanation?
Selection.ShapeRange.Width give the width of the picture as 1120. GetSystemMetrics (SM_CXSCREEN) gives the width of the screen as 2736 yet the picture is larger than the screen. Does anyone have an explanation?