This is a migrated thread and some comments may be shown as answers.

How to make Italic style Scale Label font ?

1 Answer 204 Views
Gauge
This is a migrated thread and some comments may be shown as answers.
ketan patel
Top achievements
Rank 1
ketan patel asked on 06 May 2013, 06:38 PM
Hello,

I can Apply font Size, font name and Font wight (Bold) to Scale Label.

But I am not able to apply Italic or non italic to font.

How to apply it ??

Which Property set for italic.

For exmaple :-

RadRadialGaugepreview.Scale.Labels.Font =

 

"normal 7px Arial,Verdana,Tahoma"

How to apply Italic in above example ?

Thank you.

 

1 Answer, 1 is accepted

Sort by
0
Danail Vasilev
Telerik team
answered on 07 May 2013, 06:40 PM
Hello,

You can style the scale labels of the RadGauge with an italic type by simply adding the 'italic' word in front of the font size declaration. For example:
RadRadialGaugepreview.Scale.Labels.Font = "italic 7px Arial,Verdana,Tahoma";

You can also made the text bold and italic at the same time by adding both words as follow:
RadRadialGaugepreview.Scale.Labels.Font = "bold italic 7px Arial,Verdana,Tahoma";


Greetings,
Danail Vasilev
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Gauge
Asked by
ketan patel
Top achievements
Rank 1
Answers by
Danail Vasilev
Telerik team
Share this question
or