UMG Size width and height at runtime

I am trying to set an image to an exact pixel size. When the user hits a key the image pixel size will change.

In My Widget editor the resolution is marked as 1280 x 720 (16:9) and DPI Scale 0.67

If I manually scale my image to be full screen SizeX: 1910 SizeY: 1074
interesting to note that 1280/0.69 == 1910 and 720/0.67 == 1074 (approximately)

At Runtime I get the viewport size and its reported as 1280 x720 (resizing the window update this size)

Since I am trying to set the size of my Image, lets pretend I want to set it to 1280x720 pixels.

To do that the image size must be 1910x1074

So it seems if I had the DPI I could caclulate the “size” of my image but I cant figure out where to get the DPI

So I tried to get the size of the canvas, I made the canvas a variable and called Get Desired Size but this returns 1432x1074

The Y parameter seems what I want but not the X, possibly because its desired size. Is there away to get the size of the viewport in UMG coordinates? or get the Canvas Actual Size? or get DPI?

I have the same question