Improved text API

This commit is contained in:
MarcinZiabek
2022-03-08 17:27:30 +01:00
parent 054e7a5f20
commit fcff989ab2
26 changed files with 426 additions and 291 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ namespace QuestPDF.Examples
text.Line(Placeholders.Sentence());
// this text has size 20 but also semibold and red
text.Span(Placeholders.Sentence(), TextStyle.Default.Color(Colors.Red.Medium));
text.Span(Placeholders.Sentence()).Color(Colors.Red.Medium);
});
});
});