RDPViewer scale size problem

Q Big 6 Reputation points
2020-07-09T06:51:53.263+00:00

I used RDPViewer in C# (WPF) to display the remote desktop (RDP Session). When the size of the remote screen is smaller than the current screen size, I try to display RDPViewer in full screen, but there will be a gray blank, and the picture will not be enlarged or covered. How should the picture be covered?
this.axRDPViewer.Connect(ConnectString, Environment.UserName, "");
this.axRDPViewer.SmartSizing = true;

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,708 questions
{count} vote