https://learn.microsoft.com/en-us/dotnet/api/system.windows.interop.d3dimage.pixelheight?view=netframework-4.8.1&viewFallbackFrom=windowsdesktop-10.0
D3DImage.PixelHeight Property (System.Windows.Interop) | Microsoft Learn
Gets the height of the D3DImage, in pixels.
property systemwindowsinteropmicrosoftlearn