Hi Badal,
I guess I understand what u mean now. Please try the following code to see if it meets your requirements:
ShapeFileFeatureLayer worldLableLayer = new ShapeFileFeatureLayer(fileName);
ClassBreakStyle classBreakStyle1 = new ClassBreakStyle("SQKM");
TextStyle textStyle1 = TextStyles.CreateSimpleTextStyle("CNTRY_NAME", "Arail", 9, DrawingFontStyles.Regular, GeoColor.StandardColors.Black, GeoColor.StandardColors.White, 2, 0, 0);
textStyle1.FittingPolygon = true;
TextStyle textStyle2 = TextStyles.CreateSimpleTextStyle("CNTRY_NAME", "Arail", 12, DrawingFontStyles.Regular, GeoColor.StandardColors.Black, GeoColor.StandardColors.White, 3, 0, 0);
textStyle2.FittingPolygon = true;
classBreakStyle1.ClassBreaks.Add(new ClassBreak(243300, textStyle1));
classBreakStyle1.ClassBreaks.Add(new ClassBreak(3000000, textStyle2));
ClassBreakStyle classBreakStyle2 = new ClassBreakStyle("SQKM");
TextStyle textStyle3 = TextStyles.CreateSimpleTextStyle("CNTRY_NAME", "Arail", 11, DrawingFontStyles.Regular, GeoColor.StandardColors.Black, GeoColor.StandardColors.White, 2, 0, 0);
TextStyle textStyle4 = TextStyles.CreateSimpleTextStyle("CNTRY_NAME", "Arail", 14, DrawingFontStyles.Regular, GeoColor.StandardColors.Black, GeoColor.StandardColors.White, 3, 0, 0);
classBreakStyle2.ClassBreaks.Add(new ClassBreak(0, textStyle3));
classBreakStyle2.ClassBreaks.Add(new ClassBreak(3000000, textStyle4));
ClassBreakStyle classBreakStyle3 = new ClassBreakStyle("SQKM");
TextStyle textStyle5 = TextStyles.CreateSimpleTextStyle("CNTRY_NAME", "Arail", 12, DrawingFontStyles.Regular, GeoColor.StandardColors.Black, GeoColor.StandardColors.White, 2, 0, 0);
TextStyle textStyle6 = TextStyles.CreateSimpleTextStyle("CNTRY_NAME", "Arail", 15, DrawingFontStyles.Regular, GeoColor.StandardColors.Black, GeoColor.StandardColors.White, 3, 0, 0);
classBreakStyle3.ClassBreaks.Add(new ClassBreak(0, textStyle5));
classBreakStyle3.ClassBreaks.Add(new ClassBreak(3000000, textStyle6));
ClassBreakStyle classBreakStyle4 = new ClassBreakStyle("SQKM");
TextStyle textStyle7 = TextStyles.CreateSimpleTextStyle("CNTRY_NAME", "Arail", 13, DrawingFontStyles.Regular, GeoColor.StandardColors.Black, GeoColor.StandardColors.White, 2, 0, 0);
TextStyle textStyle8 = TextStyles.CreateSimpleTextStyle("CNTRY_NAME", "Arail", 16, DrawingFontStyles.Regular, GeoColor.StandardColors.Black, GeoColor.StandardColors.White, 3, 0, 0);
classBreakStyle4.ClassBreaks.Add(new ClassBreak(0, textStyle7));
classBreakStyle4.ClassBreaks.Add(new ClassBreak(3000000, textStyle8));
ClassBreakStyle classBreakStyle5 = new ClassBreakStyle("SQKM");
TextStyle textStyle09 = TextStyles.CreateSimpleTextStyle("CNTRY_NAME", "Arail", 14, DrawingFontStyles.Regular, GeoColor.StandardColors.Black, GeoColor.StandardColors.White, 2, 0, 0);
TextStyle textStyle10 = TextStyles.CreateSimpleTextStyle("CNTRY_NAME", "Arail", 18, DrawingFontStyles.Regular, GeoColor.StandardColors.Black, GeoColor.StandardColors.White, 3, 0, 0);
classBreakStyle5.ClassBreaks.Add(new ClassBreak(0, textStyle09));
classBreakStyle5.ClassBreaks.Add(new ClassBreak(3000000, textStyle10));
worldLableLayer.ZoomLevelSet.ZoomLevel03.CustomStyles.Add(classBreakStyle1);
worldLableLayer.ZoomLevelSet.ZoomLevel03.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level04;
worldLableLayer.ZoomLevelSet.ZoomLevel05.CustomStyles.Add(classBreakStyle2);
worldLableLayer.ZoomLevelSet.ZoomLevel06.CustomStyles.Add(classBreakStyle3);
worldLableLayer.ZoomLevelSet.ZoomLevel07.CustomStyles.Add(classBreakStyle4);
worldLableLayer.ZoomLevelSet.ZoomLevel08.CustomStyles.Add(classBreakStyle5);
worldLableLayer.ZoomLevelSet.ZoomLevel08.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level10;
Please refer to our installed sample "DrawThematicFeatures" where you can find it under "..\ThinkGeo\Map Suite Web Full Edition 3.0\Samples\CSharp Samples\Samples\Styles" folder if you want more information about ClassBreakStyle.
Thanks,
Johnny