Partager via


IMsRdpClientAdvancedSettings::put_SmartSizing (Windows Embedded CE 6.0)

1/6/2010

This method sets a value that indicates whether the display will be scaled to fit the client area of the ActiveX client control.

Syntax

HRESULT put_SmartSizing( 
    VARIANT_BOOL fSmartSizing
);

Parameters

  • fSmartSizing
    [in] VARIANT_BOOL that indicates whether the display will be scaled to fit the client area of the ActiveX client control.

    If you set this parameter to VARIANT_TRUE, the display will be scaled. If you set this parameter to VARIANT_FALSE, the display will not be scaled.

Return Value

Returns S_OK if successful. Returns E_NOTIMPL for operating systems other than Windows Embedded CE.

Remarks

Unlike most other properties, the SmartSizing property can be set while the ActiveX client control is connected.

Scroll bars do not appear when SmartSizing is enabled.

Requirements

Header mstsax.h, mstsax.idl
Library Mstsax.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

IMsRdpClientAdvancedSettings Methods for Customization and Performance
IMsRdpClientAdvancedSettings
IMsRdpClientAdvancedSettings::get_SmartSizing