In this example we add some strikethrough styled text to a
document.
using (Doc doc = new Doc()) {
string theText;
theText = "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(theText);
doc.Save(Server.MapPath("stylestrike.pdf"));
}
Using doc As New Doc()
Dim theText As String
theText = "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(theText)
doc.Save(Server.MapPath("stylestrike.pdf"))
End Using