Spread for ASP.NET 10 Product Documentation
RankingFonts Property (TagCloudCellType)
Example 


Gets or sets the font names for each ranking level.
Syntax
'Declaration
 
Public Property RankingFonts As String()
'Usage
 
Dim instance As TagCloudCellType
Dim value() As String
 
instance.RankingFonts = value
 
value = instance.RankingFonts
public string[] RankingFonts {get; set;}

Property Value

String array that contains the font names for the levels
Example
This example shows the properties of the tag cloud cell type.
FarPoint.Web.Spread.TagCloudCellType tagCell = new FarPoint.Web.Spread.TagCloudCellType(new string[] { "SEARCH", "ASP.NET",
"JAVASCRIPT" }, new string[] { "20", "50", "30" }, new string[] { "http://www.google.com", "http://www.farpointspread.com/",
"http://www.w3schools.com/js/" });
tagCell.RankingColors = new string[] { "green", "red", "puple", "yellow", "brown", "black" };
tagCell.RankingFonts = new string[] { "Arial", "Century", "Georgia", "Onyx", "Times Roman" };
tagCell.HoverColor = "Orange";
tagCell.DisplayLimit = FarPoint.Web.Spread.DisplayLimit.MostWeight;
tagCell.DisplayCount = 2;
tagCell.SortOrder = FarPoint.Web.Spread.SortOrder.DisplayTextDescending;
tagCell.BackColor = System.Drawing.Color.Yellow;
FpSpread1.ActiveSheetView.Cells[1, 0].CellType = tagCell;
Dim tagCell As New FarPoint.Web.Spread.TagCloudCellType(New String() {"SEARCH", "ASP.NET", "JAVASCRIPT"}, New String() {"20",
"50", "30"}, New String() {"http://www.google.com", "http://www.farpointspread.com/", "http://www.w3schools.com/js/"})
tagCell.RankingColors = New String() {"green", "red", "puple", "yellow", "brown", "black"}
tagCell.RankingFonts = New String() {"Arial", "Century", "Georgia", "Onyx", "Times Roman"}
tagCell.HoverColor = "Orange"
tagCell.DisplayLimit = FarPoint.Web.Spread.DisplayLimit.MostWeight
tagCell.DisplayCount = 2
tagCell.SortOrder = FarPoint.Web.Spread.SortOrder.DisplayTextDescending
tagCell.BackColor = System.Drawing.Color.Yellow
FpSpread1.ActiveSheetView.Cells(1, 0).CellType = tagCell
Requirements

Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

TagCloudCellType Class
TagCloudCellType Members

 

 


Copyright © GrapeCity, inc. All rights reserved.