UnderlineColor

Font.UnderlineColor property

Yazı tipine uygulanan alt çizginin rengini alır veya ayarlar.

public Color UnderlineColor { get; set; }

Örnekler

Metnin alt çizgisinin stilinin ve renginin nasıl yapılandırılacağını gösterir.

Document doc = new Document();
DocumentBuilder builder = new DocumentBuilder(doc);

builder.Font.Underline = Underline.Dotted;
builder.Font.UnderlineColor = Color.Red;

builder.Writeln("Underlined text.");

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

Ayrıca bakınız