ExportUnderlineFormatting

MarkdownSaveOptions.ExportUnderlineFormatting property

Ottiene o imposta un valore booleano che indica di esportare la formattazione del testo sottolineato come sequenza di due caratteri più “++”. Il valore predefinito èfalso .

public bool ExportUnderlineFormatting { get; set; }

Esempi

Mostra come esportare la formattazione sottolineata come ++.

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

builder.Underline = Underline.Single;
builder.Write("Lorem ipsum. Dolor sit amet.");

MarkdownSaveOptions saveOptions = new MarkdownSaveOptions() { ExportUnderlineFormatting = true };
doc.Save(ArtifactsDir + "MarkdownSaveOptions.ExportUnderlineFormatting.md", saveOptions);

Guarda anche