AR17: Report label set to to bold error

Posted by: zalktis on 9 February 2023, 10:53 pm EST

    • Post Options:
    • Link

    Posted 9 February 2023, 10:53 pm EST

    I am convert my project AR16 to AR17.

    Is problem: in Sub arrekins_DataInitialize me have code:

    Label14.Font = New System.Drawing.Font(Label14.Font.Name, FontStyle.Bold)

    This code convert text from normal size 9 to small size 1 ? Why?

    This is not problem with AR16.

  • Posted 12 February 2023, 6:23 pm EST


    I wasn’t able to reproduce this issue on my end. I have attached a sample application for reference.

    Please share a sample application replicating this issue or edit the attached sample such that it reproduces the issue and send it back to us so we can investigate further on this.


  • Posted 13 February 2023, 9:27 am EST


    Thanks You for sample.

    I am rewrite

    Label14.Font = New System.Drawing.Font(Label14.Font.Name, FontStyle.Bold)


    Label14.Font = New System.Drawing.Font(CType(Label2.Font, System.Drawing.Font), System.Drawing.FontStyle.Bold)

    Now print text in normal size and Bold.


  • Posted 13 February 2023, 3:27 pm EST

    Hello Ainars,

    I glad to know that the issue is resolved Thanks for sharing your solution with us. It will help others doing something similar.

Need extra support?

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

Learn More

Forum Channels