|
|
@@ -949,13 +949,13 @@ namespace QuestPDF.Examples
|
|
|
text.Span(" - ");
|
|
|
|
|
|
// record start
|
|
|
- text.Element().Width(0).Height(0)
|
|
|
+ text.Element().Width(1).Height(1)
|
|
|
.Canvas((canvas, size) => start = canvas.TotalMatrix.TransY / canvas.TotalMatrix.ScaleY);
|
|
|
|
|
|
text.Span(Placeholders.LoremIpsum()).BackgroundColor(Colors.Red.Lighten4);
|
|
|
|
|
|
// record end
|
|
|
- text.Element().Width(0).Height(0)
|
|
|
+ text.Element().Width(1).Height(1)
|
|
|
.Canvas((canvas, size) => end = canvas.TotalMatrix.TransY / canvas.TotalMatrix.ScaleY);
|
|
|
|
|
|
text.Span(" - ");
|