Gets the title or subtitle.
Syntax
[JavaScript]
var ret = FpSpread1.GetTitleInfo();
Parameters
-
None
Return Type
Object
Remarks
This method can be used to return the title of the Spread component, the subtitle, or other properties of the TitleInfo class.
Example
This is a sample that contains the method. On the client side, the script that contains the method would look like this:
JavaScript | Copy Code |
---|---|
<SCRIPT language=javascript> function getHValue() { var title = FpSpread1.GetTitleInfo(); alert(title.rows(0).cells(0).innerText); alert(title.rows(1).cells(0).innerText); } </SCRIPT> |