Tick/check symbol

I’m trying to show the symbol (:heavy_check_mark:) on a PDF. (I’m using VB.Net).

I tried using #$UNICODE(10004) but it didn’t work. can anyone tell me how to get this check symbol to show up?

Hi Jesmond,

We are sorry for the inconvenience faced. I’ve tested the scenario with the latest version of Aspose.Pdf for .NET API and noticed the issue. I’ve logged the issue in our bug tracking system as PDFNEWNET-35732 for further investigation and resolution. I’ve also linked your request to this issue and you will be notified via this thread as soon as it is resolved.

Please feel free to contact us for any further assistance.

Best Regards,

Is this bug fixed? I’m working for a company who has Aspose license, so for my programmatic PDF updates, I’m using Aspose Nugets (in C# project). Is there a way I can write a check mark on a PDF programmatically?

@suryakur

We regret that the issue was never resolved. Nevertheless, it’s been revived now by recording your concerns and increasing its priority to the next level. We will let you know once the ticket is resolved and we have some feedback to share with you.

1 Like

@suryakur , @jesmmifs

The syntax #$UNICODE(char_code) is not supported in the Aspose.PDF DOM API. But you can enter any Unicode symbols programmatically using the common C# syntax. Here is an example of generating the document using the Aspose.PDF DOM API:

//Instantiate a Document instance by calling its empty constructor
using (Aspose.Pdf.Document pdf1 = new Aspose.Pdf.Document())
{
    //Create a page in the Pdf object
    Aspose.Pdf.Page sec1 = pdf1.Pages.Add();
    //Create a sample text paragraph
    Aspose.Pdf.Text.TextFragment text1 = new Aspose.Pdf.Text.TextFragment("page $p of $P  \x2713" + " test and \x25a1");

    //Specify the ID for the text paragraph
    text1.Id = "page1";
    //Add the text to a paragraphs collection of the page
    sec1.Paragraphs.Add(text1);
    pdf1.Save(GetOutputPdf(myDir + "35732_out.pdf"));
}

35732_out.pdf (112.0 KB)