Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Description

Excerpt

Sets or returns a boolean that represents if a character run has the Strikethrough effect, displaying a single line through the text.

Signature
C#
C#
public boolean Strike{ get; set; }
{signature}{signature:
}
Signature
vb.net
vb.net
Public Property Strike() As Boolean
{signature}
{remarks}MS Word 
Remarks

MS Word equivalent:

Format

menu

>

Font...

>

Font

tab

>

Effects

section

>

Strikethrough {remarks} {example}{code:csharp|title=C#}

Strikethrough

Example
Code Block
csharp
csharp
titleC#
          
//--- Return Strike
          bool strike = oFont.Strike;

          //--- Set Shadow
          oFont.Strike = true;
        
{code} {code:
Code Block
vb.net
|title=
vb.net
titlevb.net
}
          
'--- Return Strike
          Dim strike As Boolean = oFont.Strike

          '--- Set Strike
          oFont.Strike = True
        
{code} {example}