MPIon
Well-known member
I have a PictureBox showing the thumbnail of a video using the following code :
This shows correctly on a Full HD monitor at 100% scaling.
When I transfer to 4K monitor it is not correct (27" 4k at 200% scaling).
The Large Thumbnail is
On 4K is shows as :
When changing to ExtraLargeBitmap it shows as :
Neither is correct, but the Extra Large is better.
The sprockets around the image are from a resource file in the application.
Is there a way to adjust the thumbnail to fit?
I have tried Zoom and Stretch on the SizeMode, but they have no effect.
I won't change the monitor scaling from 200% as I need that for other reasons.
C#:
boxData[boxNo].pictureBox.BackgroundImage = shellFile.Thumbnail.LargeBitmap;
boxData[boxNo].pictureBox.Image = Properties.Resources.Sprockets;
When I transfer to 4K monitor it is not correct (27" 4k at 200% scaling).
The Large Thumbnail is
On 4K is shows as :
When changing to ExtraLargeBitmap it shows as :
Neither is correct, but the Extra Large is better.
The sprockets around the image are from a resource file in the application.
Is there a way to adjust the thumbnail to fit?
I have tried Zoom and Stretch on the SizeMode, but they have no effect.
I won't change the monitor scaling from 200% as I need that for other reasons.