Spread.Sheets
SearchFoundFlags フィールド
検索文字列が見つかった場所を指定します。
シンタックス
Javascript (Usage) 
var value; // Type: SearchFoundFlags
value = GC.Spread.Sheets.Search.SearchFoundFlags;
Javascript (Specification) 
var SearchFoundFlags : SearchFoundFlags;
使用例
// 次のサンプルコードは、SearchFlags列挙体を使用します。 activeSheet.getCell(2,3).value("testSearch"); var searchCondition = new GC.Spread.Sheets.Search.SearchCondition(); searchCondition.searchString = "testSearch"; searchCondition.startSheetIndex = spread.getActiveSheetIndex(); searchCondition.endSheetIndex = spread.getActiveSheetIndex(); searchCondition.searchOrder = GC.Spread.Sheets.Search.SearchOrder.nOrder; searchCondition.searchTarget = GC.Spread.Sheets.Search.SearchFoundFlags.cellText; searchCondition.searchFlags = GC.Spread.Sheets.Search.SearchFlags.ignoreCase| GC.Spread.Sheets.Search.SearchFlags.useWildCards; var searchresult= activeSheet.search(searchCondition); var str ="[searchFoundFlag:"+ searchresult.searchFoundFlag+",\r\n foundSheetIndex:"+searchresult.foundSheetIndex+",foundRowIndex:" + searchresult.foundRowIndex+", foundColumnIndex:"+searchresult.foundColumnIndex+", foundString:"+searchresult.foundSheetIndex+"]"; alert(str);

関連トピック

参照

Search タイプ

 

 


© 2016-2018, GrapeCity inc. All rights reserved.