IFont::get_Strikethrough method (ocidl.h)

Gets the font's current Strikethrough property.

Syntax

HRESULT get_Strikethrough(
  [out] BOOL *pStrikethrough
);

Parameters

[out] pStrikethrough

A pointer to the caller-allocated variable that receives the current Strikethrough property for the font.

Return value

This method can return one of these values.

Return code Description
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 the pStrikethrough parameter is not valid. For example, it may be NULL.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header ocidl.h

See also

IFont

IFont::put_Strikethrough