跳到主要内容

UNICHAR

Returns the Unicode character referenced by the given numeric value.

Syntax

expression.UNICHAR(arg1);

expression - A variable that represents a ApiWorksheetFunction class.

Parameters

NameRequired/OptionalData typeDefaultDescription
arg1RequiredApiRange | ApiName | numberThe Unicode number representing a character.

Returns

string

Example

let worksheet = Api.GetActiveSheet();
let func = Api.GetWorksheetFunction();
worksheet.GetRange("A1").SetValue(func.UNICHAR(378));