Class StrikeValue
Specifies the type of strike-through for text.
Inheritance
Namespace: IronWord.Models.Enums
Assembly: IronWord.dll
Syntax
public sealed class StrikeValue : Enum
Apply a strikethrough line to run text by choosing a StrikeValue on the text style. None leaves the text unstruck and is the usual state, Strike draws a single line through the characters for crossed-out copy, and DoubleStrike draws two parallel lines for stronger emphasis. The style text guide shows strikethrough alongside the other character formatting options.
textStyle.Strike = StrikeValue.Strike;Fields
DoubleStrike
Double strike-through.
Declaration
public const StrikeValue DoubleStrike
Field Value
| Type | Description |
|---|---|
| StrikeValue |
None
No strike-through.
Declaration
public const StrikeValue None
Field Value
| Type | Description |
|---|---|
| StrikeValue |
Strike
Single strike-through.
Declaration
public const StrikeValue Strike
Field Value
| Type | Description |
|---|---|
| StrikeValue |
value__
Declaration
public int value__
Field Value
| Type | Description |
|---|---|
| System.Int32 |