IBrowser::get_MarginWidth (Windows CE 5.0)
The MarginWidth property gets or sets the left and right margin widths before displaying the text in a frame.
To get the value of the MarginWidth property, call the property method described here.
To set the value of the MarginWidth property, see the put_MarginWidth property method.
Syntax
HRESULT get_MarginWidth( long* pVal);
Parameters
- pVal
[out] Reference to a variable that receives the margin 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
Margins cannot be less than 0 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
Send Feedback on this topic to the authors