IFont::put_Strikethrough method (ocidl.h)

Sets the font's Strikethrough property.

Syntax

HRESULT put_Strikethrough(
  [in] BOOL strikethrough
);

Parameters

[in] strikethrough

The new Strikethrough property for the font.

Return value

This method can return one of these values.

Return code Description
S_OK
The Strikethrough property was changed successfully.
S_FALSE
The font does not support a strikethrough state. This value is not an error condition.

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::get_Strikethrough