IRDPSRAPIViewer::SmartSizing property
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 put_SmartSizing(
[in] VARIANT_BOOL vbSmartSizing
);
HRESULT get_SmartSizing(
[out] VARIANT_BOOL *pvbSmartSizing
);
Property value
Specifies whether smart sizing is enabled or disabled on the viewer ActiveX control.
Error codes
If the method succeeds, the return value is S_OK. Otherwise, the return value is an error code.
Requirements
|
Minimum supported client |
Windows Vista [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2008 [desktop apps | Windows Store apps] |
|
Header |
|
|
IDL |
|
|
Type library |
|
|
DLL |
|
See also