Click to Rate and Give Feedback
MSDN
MSDN Library
Windows Development
System Services
 IMsRdpClientAdvancedSettings::Smart...
IMsRdpClientAdvancedSettings::SmartSizing property

Applies to: desktop apps only

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 XP

Minimum supported server

Windows Server 2003

IID

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

See also

IMsRdpClientAdvancedSettings2
IMsRdpClientAdvancedSettings3
IMsRdpClientAdvancedSettings4
IMsRdpClientAdvancedSettings5
IMsRdpClientAdvancedSettings

 

 

Send comments about this topic to Microsoft

Build date: 3/7/2012

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
"smart sizing" in rdp file      Yoshihiro Kawabata   |   Edit   |   Show History

In rdp file, this property enable by add below a line.

smart sizing:i:1

ref: Terminal Services Team blog "Smart-Sizing" the TS Client (Aug 7, 2008)

http://blogs.msdn.com/ts/archive/2008/08/07/smart-sizing-the-ts-client.aspx

Tags What's this?: rdp (x) Add a tag
Flag as ContentBug
Processing
© 2012 Microsoft. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker