IHTMLFontElement::size Property

Sets or retrieves the font size of the object.

Syntax

HRESULT IHTMLFontElement::get_size(long *p);
HRESULT IHTMLFontElement::put_size(long v);

Parameters

  • p
    Pointer to a variable of type long that receives the font size within a range of 1 through 7, with 7 representing the largest font.
  • v
    long that specifies the font size within a range of 1 through 7, with 7 representing the largest font.

Return Value

Returns S_OK if successful, or an error value otherwise.