다음을 통해 공유


IBrowser::get_MarginHeight (Windows CE 5.0)

Send Feedback

The MarginHeight property gets or sets the top and bottom margin heights before displaying the text in a frame.

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

To set the value of the MarginHeight property, see the put_MarginHeight property method.

Syntax

HRESULT get_MarginHeight(  long* pVal);

Parameters

  • pVal
    [out] Reference to a variable that receives the margin height 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

Margins cannot be less than 1 pixel or so large that the text cannot be displayed.

Requirements

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

See Also

IBrowser

IBrowser::get_MarginWidth

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.