DoubleStrikeThrough

Font.DoubleStrikeThrough property

Yazı tipi çift üstü çizili metin olarak biçimlendirilmişse doğrudur.

public bool DoubleStrikeThrough { get; set; }

Örnekler

Metne üstü çizili çizginin nasıl ekleneceğini gösterir.

Document doc = new Document();
Paragraph para = (Paragraph)doc.GetChild(NodeType.Paragraph, 0, true);

Run run = new Run(doc, "Text with a single-line strikethrough.");
run.Font.StrikeThrough = true;
para.AppendChild(run);

para = (Paragraph)para.ParentNode.AppendChild(new Paragraph(doc));

run = new Run(doc, "Text with a double-line strikethrough.");
run.Font.DoubleStrikeThrough = true;
para.AppendChild(run);

doc.Save(ArtifactsDir + "Font.StrikeThrough.docx");

Ayrıca bakınız