【お知らせ】この部分は英語原文のみでの提供となります。何卒ご了承ください。
2.2.4.32.20 OriginObject::GetIndex
Contents
Description
Get the index of an object in an Origin C Collection
Syntax
int GetIndex( )
Parameters
Return
The object's index, zero offset.
Examples
EX1
// Assume a worksheet is active void OriginObject_GetIndex_Ex1() { Worksheet wks = Project.ActiveLayer(); out_int("Current sheet index = ", wks.GetIndex()); }
Remark
Get the index of an object in an Origin C Collection. For example, return the index of a column in the worksheet.
See Also
Header to Include
origin.h