IRDPSRAPIViewer::get_SmartSizing method (rdpencomapi.h)

[The IRDPSRAPIViewer interface is no longer available for use for UWP applications as of Windows 10, version 1709. It is still supported for Desktop apps.]

Gets or sets the smart sizing property of the viewer ActiveX control.

The SmartSizing property specifies whether the display should be scaled to fit the client area of the control. Scroll bars do not appear when the SmartSizing property is enabled. Unlike most other properties, this property can be set when the control is connected.

This property is read/write.

Syntax

HRESULT get_SmartSizing(
  VARIANT_BOOL *pvbSmartSizing
);

Parameters

pvbSmartSizing

Return value

None

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header rdpencomapi.h
DLL RdpEncom.dll

See also

IRDPSRAPIViewer