PowerTools SPREAD for ASP.NET 8.0J
DisplayLimit 列挙体

タグクラウドに表示する項目の制限を指定します。
構文
'Declaration
 
Public Enum DisplayLimit 
   Inherits System.Enum
public enum DisplayLimit : System.Enum 
メンバ
メンバ説明
LeastWeight最も低い重み値を使用して、タグクラウドに表示する項目の制限を指定します。
MostWeight最も高い重み値を使用して、タグクラウドに表示する項目の制限を指定します。
Noneタグクラウドに表示する項目を制限しません。
次のサンプルコードは、DisplayLimit列挙体を使用します。
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
継承階層

System.Object
   System.ValueType
      System.Enum
         FarPoint.Web.Spread.DisplayLimit

参照

FarPoint.Web.Spread 名前空間

 

 


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