|
|
@@ -86,7 +86,7 @@ namespace QuestPDF.Infrastructure
|
|
|
DecorationColor = DecorationColor ?? Colors.Black,
|
|
|
DecorationType = CreateDecoration(),
|
|
|
|
|
|
- DecorationMode = GetDecorationMode(),
|
|
|
+ DecorationMode = TextStyleConfiguration.TextDecorationMode.Through,
|
|
|
DecorationStyle = DecorationStyle ?? TextStyleConfiguration.TextDecorationStyle.Solid,
|
|
|
DecorationThickness = DecorationThickness ?? 1,
|
|
|
|
|
|
@@ -108,14 +108,6 @@ namespace QuestPDF.Infrastructure
|
|
|
|
|
|
return result;
|
|
|
}
|
|
|
-
|
|
|
- TextStyleConfiguration.TextDecorationMode GetDecorationMode()
|
|
|
- {
|
|
|
- if (HasUnderline == true)
|
|
|
- return TextStyleConfiguration.TextDecorationMode.Gaps;
|
|
|
-
|
|
|
- return TextStyleConfiguration.TextDecorationMode.Through;
|
|
|
- }
|
|
|
|
|
|
TextStyleConfiguration.TextDecoration CreateDecoration()
|
|
|
{
|