Share via


IBrowser2::get_LayoutWidth

The LayoutWidth read-only property gets a value indicating the width of the document currently displayed in the browser.

Syntax

HRESULT get_LayoutWidth(
  int * piLayoutWidth
);

Parameters

  • piLayoutWidth
    [out] Reference to a variable that receives the content width in pixels.

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.

Remarks

This method retrieves the width of the document that can be scrolled.

Requirements

Pocket PC: Windows Mobile 2002 and later
OS Versions: Windows CE 4.0 and later
Header: webvw.h
Library: webvw.lib

See Also

IBrowser2

IBrowser2::get_LayoutHeight

Send feedback on this topic to the authors.

© 2005 Microsoft Corporation. All rights reserved.