IMsRdpClientAdvancedSettings::SmartSizing property

Specifies if the display should be scaled to fit the client area of the control. Note that 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 put_SmartSizing(
  [in]  VARIANT_BOOL fSmartSizing
);

HRESULT get_SmartSizing(
  [out] VARIANT_BOOL *pfSmartSizing
);

Property value

Set this parameter to VARIANT_FALSE to disable the feature or VARIANT_TRUE to enable the feature.

Error codes

Returns S_OK if successful.

Remarks

For more information about Remote Desktop Web Connection, see Requirements for Remote Desktop Web Connection.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Type library

MsTscAx.dll

DLL

MsTscAx.dll

IID

IID_IMsRdpClientAdvancedSettings is defined as 3c65b4ab-12b3-465b-acd4-b8dad3bff9e2

See also

IMsRdpClientAdvancedSettings2
IMsRdpClientAdvancedSettings3
IMsRdpClientAdvancedSettings4
IMsRdpClientAdvancedSettings5
IMsRdpClientAdvancedSettings6
IMsRdpClientAdvancedSettings7
IMsRdpClientAdvancedSettings8
IMsRdpClientAdvancedSettings

 

 

Show: