XTextStyle Strike2 Property. Whether to apply a double strikethrough effect. ABCpdf .NET PDF Library.

ABCpdf .net

 
   

 

Type Default Read Only Description
[C#] bool

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

 

   

Notes
 

This property determines whether a double strikethrough is applied to text.

 

   

Example
 

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

[C#]
Doc theDoc = 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.";
theDoc.Rect.Inset(20, 40);
theDoc.TextStyle.Size = 96;
theDoc.TextStyle.Strike2 = true;
theDoc.AddText(theText);
theDoc.Save(Server.MapPath("stylestrike2.pdf"));
theDoc.Clear();

[Visual Basic]
Dim theDoc As Doc = 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."
theDoc.Rect.Inset(20, 40)
theDoc.TextStyle.Size = 96
theDoc.TextStyle.Strike2 = True
theDoc.AddText(theText)
theDoc.Save(Server.MapPath("stylestrike2.pdf"))
theDoc.Clear()


stylestrike2.pdf