PowerTools SPREAD for ASP.NET 8.0J
DisplayCount プロパティ (TagCloudCellType)

個々のクラウド項目の表示数を取得または設定します。
構文
'Declaration
 
Public Property DisplayCount As Integer
public int DisplayCount {get; set;}

プロパティ値

表示する項目の数を表すInteger
次のサンプルコードは、タグクラウドセル型のプロパティを示します。
FarPoint.Web.Spread.TagCloudCellType tagCell = new FarPoint.Web.Spread.TagCloudCellType(new string[] { "SEARCH", "ASP.NET","Windows Forms" }, new string[] { "20", "50", "30" }, new string[] { "http://www.google.com", "http://www.grapecity.com/tools/products/spreadasp8", "http://www.grapecity.com/tools/products/spreadwin8" });
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", "Windows Forms"}, New String() {"20", "50", "30"}, New String() {"http://www.google.com", "http://www.grapecity.com/tools/products/spreadasp8", "http://www.grapecity.com/tools/products/spreadwin8"})
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
参照

TagCloudCellType クラス
TagCloudCellType メンバ

 

 


© 2003-2015, GrapeCity inc. All rights reserved.