Support of Escape Sequences (\t) in C1PdfDocument

Posted by: Swapnil.Walwadkar on 19 September 2021, 5:00 pm EST

  • Posted 19 September 2021, 5:00 pm EST - Updated 3 October 2022, 11:38 pm EST

    Hello

    I am using C1PdfDocument to create a PDF file.

    I am adding data in tabular format by using ‘\t’ between the columns. A Tab is getting inserted into the PDF file. However, I am facing the following problem.

    The first column is ‘Sr. No.’. This column may have 1,10, 100, 1000 values. But due to the width of these values, the column indentation is not proper. (Screenshot is attached)

    Please let me know how can I solve this issue. Irrespective of the width of the column, the indentation should be maintained correctly.

    (Sorry, I cannot add a leading '0’s to match the width.)

  • Posted 20 September 2021, 4:05 pm EST

    Hi Swapnil,

    Thank you for providing the snapshot.

    We have escalated this behavior to the development team. We’ll get back to you when we have any update. [Internal Track Id-C1XAML-28030].

    However, if you want to create data in table format then we suggests you to render table in PdfDocument like PdfCreator product sample. You can find this sample at location : C:\Users\User_Name\Documents\ComponentOne Samples\WPF\v4.5.2\C1.WPF.Pdf\CS\PdfCreator

    After building the sample project, go to Advanced tab where you can get implementation to create the table in C1PdfDocument.

    Best Regards,

    Nitin

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels