Platform SDK: COM

IFont::get_Strikethrough

Indicates whether the font has the strikethrough property or not.

HRESULT get_Strikethrough(
  BOOL* pstrikethrough  //Pointer to the current strikethrough 
                        //property for the font
);
 

Parameters

pstrikethrough
[out] Pointer to the caller-allocated BOOL variable that indicates the current strikethrough property for the font.

Return Values

S_OK
The state was retrieved successfully. If the state is indeterminate, a font object should set *pstrikethrough to FALSE and return S_OK.
E_POINTER
The address in pstrikethrough is not valid. For example, it may be NULL.

Requirements

  Windows NT/2000: Requires Windows NT 4.0 or later.
  Windows 95/98: Requires Windows 95 or later.
  Header: Declared in ocidl.h.

See Also

IFont::put_Strikethrough