We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

GridGroupingControl vs PrivateFontCollection

Thread ID:

Created:

Updated:

Platform:

Replies:

125080 Jul 20,2016 09:06 AM UTC Jul 21,2016 02:39 PM UTC WinForms 1
loading
Tags: GridGroupingControl
Kamil
Asked On July 20, 2016 09:06 AM UTC

Hello,
Why am I not able to use private font collection in grid grouping control in the way like this:

this.gridGroupingControl.Font = new System.Drawing.Font(GetFontFamily(), this.gridControl.Font.Size, this.gridControl.Font.Style, this.gridControl.Font.Unit, 1);

where GetFontFamily() is method that returns font family from PrivateFontCollection. 
If I use e.g. "Segoe Script" instead of GetFontFamily() it is working fine.

Anish George [Syncfusion]
Replied On July 21, 2016 02:39 PM UTC

Hi Kamil, 

Thank you for using Syncfusion products. 

We have created a simple sample using PrivateCollection for the Arial font. Please refer the below sample so that you can get an idea how to use it. Currently we have support only to apply an existing embedded font in our GridGroupingControl.  

Sample: 

Please let us know if you need any further assistance. 

Regards, 
Anish. 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;