Skip to content

How to apply html formatted string? #21

Description

@raysefo

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions