C1Ribbon: how to set fontsize

Posted by: serge.barrouilhet on 19 January 2023, 9:12 pm EST

    • Post Options:
    • Link

    Posted 19 January 2023, 9:12 pm EST

    Hello,

    In the new C1Ribbon (4.8.20223.584 for us), the font of every component in a C1Ribbon can be changed but the size can’t. How do we manage to change it?

     Dim font As New Font("Segoe UI", 6, FontStyle.Regular, GraphicsUnit.Point)

    The font “Segoe UI” is applied but the size 6 isn’t.

  • Posted 19 January 2023, 10:43 pm EST

    Hi,

    To customize the Font of different elements of the C1Ribbon, you can use the C1Ribbon1.RibbonStyle.FontSet property. Please see the attached sample for reference.

    Attachment: RibbonSample.zip

    Best Regards,

    Kartik

  • Posted 20 January 2023, 4:08 am EST

    Thank you for the answer!

Need extra support?

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

Learn More

Forum Channels