跳到主要内容

GetFreezePanesType

Returns the freeze panes type.

Syntax

expression.GetFreezePanesType();

expression - A variable that represents a Api class.

Parameters

This method doesn't have any parameters.

Returns

FreezePaneType

Example

This example freezes first column and get pastes a freezed type into the table.

Api.SetFreezePanesType('column');
let worksheet = Api.GetActiveSheet();
worksheet.GetRange("A1").SetValue("Type: ");
worksheet.GetRange("B1").SetValue(Api.GetFreezePanesType());