Partager via


IBrowser2::get_FitToWindow (Windows CE 5.0)

Send Feedback

The FitToWindow property gets or sets a Boolean value indicating that resizing of content to fit in the browser window is enabled or disabled.

To get the value of the FitToWindow property, call the property method described here.

To set the value of the FitToWindow property, see the put_FitToWindow property method.

Syntax

HRESULT get_FitToWindow(  VARIANT_BOOL* pbFitToWindow);

Parameters

  • pbFitToWindow
    [out] Reference to a Boolean value; VARIANT_TRUE if content sizing is enabled and VARIANT_FALSE if content resizing is disabled.

Return Values

This method returns the standard values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, and E_FAIL, as well as the following:

  • S_OK
    The method completed successfully.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: webvw.h
Library: wvuuid.lib

See Also

IBrowser2

IBrowser3::get_SuperFitToWindow

IBrowser3::put_SuperFitToWindow

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.