Type Default Read Only Description
[C#]
bool

[Visual Basic]
Boolean
false No Whether to apply a strikethrough effect.

 

   

Notes
 

This property determines whether a strikethrough is applied to text.

 

   

Example
 

In this example we add some strikethrough styled text to a document.

 

using var doc = new Doc(); string text = "Gallia est omnis divisa in partes tres, quarum unam incolunt Belgae, aliam Aquitani, tertiam qui ipsorum lingua Celtae, nostra Galli appellantur."; doc.Rect.Inset(20, 40); doc.TextStyle.Size = 96; doc.TextStyle.Strike = true; doc.AddText(text); doc.Save(Server.MapPath("stylestrike.pdf"));


stylestrike.pdf