Sets the text for the specified characters.
Name | Type | Description |
Text | string | The text to be set. |
builder.CreateFile("xlsx"); var oWorksheet = Api.GetActiveSheet(); var oRange = oWorksheet.GetRange("B1"); oRange.SetValue("This is just a sample text."); var oCharacters = oRange.GetCharacters(23, 4); oCharacters.SetText("string"); builder.SaveFile("xlsx", "SetText.xlsx"); builder.CloseFile();