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.

QuickInfo

  Windows NT: Use version 4.0 or later.
  Windows: Use Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in ocidl.h.

See Also

IFont::put_Strikethrough