Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
60
Create custom PDF Grid, setting the column width / size
posted

I create a custom Grid that contains 14 columns.
I want all the to set the column width to the max size of the IText of the column, except for the second column.
I played around with the AutoWidth.Instance, but can't make ik work.
Some text is not shown properly.

The source code Optionsis attached

Please help me!  

 

example.zip
Parents
  • 20255
    Offline posted

    Hello Marcel,

    Thank you for the provided code snippet and explanation.

    If you set the text width to be with AutoWidth.Instance, the columns will be properly resized. See the attached image.

    Could you please let me know what I am missing from your scenario.

Reply Children