HTMLToQPDF
HTMLToQPDF copied to clipboard
How to apply html formatted string?
Hi, I installed QuestPDF and HTML Agility Pack. How can I apply Notes? It says can not resolve SetHtml.
string Notes = "<b>Terms and conditions apply.</b>"
container.Row(row =>
{
row.RelativeItem(350).Background(Colors.Grey.Lighten3).Padding(5).Column(column =>
{
column.Spacing(2);
column.Item().Text("Notlar / Notes:").Bold();
column.Item().SetHtml(Notes);
});
});