Skip to end of metadata
Go to start of metadata

Description

Sets or returns a boolean that represents if a character run has the Strikethrough effect, displaying a single line through the text.
C#
public boolean Strike{ get; set; }
vb.net
Public Property Strike() As Boolean

Remarks

MS Word equivalent: Format menu > Font... > Font tab > Effects section > Strikethrough

Examples

C#
          //--- Return Strike
          bool strike = oFont.Strike;

          //--- Set Shadow
          oFont.Strike = true;
        
vb.net
          '--- Return Strike
          Dim strike As Boolean = oFont.Strike

          '--- Set Strike
          oFont.Strike = True
        
  • No labels