GetReferenceStyle

GetReferenceStyle() → { ReferenceStyle }

Returns the cell reference style.

Parameters:

This method doesn't have any parameters.

Returns:

Type
ReferenceStyle

Example

Copy code
builder.CreateFile("xlsx");
var oWorksheet = Api.GetActiveSheet();
var sReferenceStyle = Api.GetReferenceStyle();
oWorksheet.GetRange("A1").SetValue("The cell reference style: " + sReferenceStyle);
builder.SaveFile("xlsx", "GetReferenceStyle.xlsx");
builder.CloseFile();

Resulting document