Could you check this sample -
https://github.com/visioforge/.Net-SDK-s-samples/tree/master/Video%20Capture%20SDK/WPF/CSharp/Screen_Capture ?
Please tell me also used .Net version. This issue can be caused by DPI-aware app settings or something like it. I have no problems in .Net 8 and 9.