ExportUnderlineFormatting

MarkdownSaveOptions.ExportUnderlineFormatting property

يحصل على قيمة منطقية أو يعينها للإشارة إلى تصدير تنسيق نص underline كتسلسل من حرفين زائد “++”. القيمة الافتراضية هيخطأ شنيع .

public bool ExportUnderlineFormatting { get; set; }

أمثلة

يوضح كيفية تصدير تنسيق التسطير بصيغة ++.

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);

أنظر أيضا