IVMRCClientControl::AutoSize property

The AutoSize property indicates whether the control determines its own size.

This property is read/write.

Syntax

HRESULT put_AutoSize(
  [in]  VARIANT_BOOL autoSize
);

HRESULT get_AutoSize(
  [out] VARIANT_BOOL *autoSize
);

VB
VMRCClientControl.AutoSize( _
  ByRef autoSize, _
  ByVal autoSize _
)

Property value

Contains vbTrue if the control determines its own size.

This property value is read/write.

Error codes

Name Meaning
S_OK
The operation was successful.
E_INVALIDARG
The autoSize parameter was NULL.

Remarks

The current implementation of the VMRC Client control ignores attempts to enable or disable auto-sizing. The control always determines its own size and always returns TRUE when this property is read.

Requirements

Product
Microsoft Virtual Server 2005 onWindows Server 2003
Download
Microsoft Virtual Server 2005 R2 SP1 Update onWindows Server 2008orWindows Server 2003
Header
VMRCClientControl.h
Library
VMRCClientControl.lib

See also

IVMRCClientControl