SetCellFont Function
Applies a given new text formatting to the characters given as a continuous range in a given cell of a given table item from an Envision document currently opened in the Canvas Envision Creator app.
Parameters
tableObj: EvItemAn Object item object, a table item from the Envision document currently opened in the Canvas Envision Creator app that includes the given cell with the given range of characters whose text formatting should be changed.
If a given object item is not a table, the function throws an error.
cell: EvTableCellIndexAn
EvTableCellIndexobject, an array of the row and column indices of a given cell with the given range of characters whose text formatting should be changed.font: EvFontStyleAn
EvFontStyleobject, a given new text formatting that should be applied to the characters within the given range in the given cell of the given table item.span?: EvCharSpanAn
EvCharSpanobject, a given continuous range of characters whose text formatting should be changed.The default value is the entire text in the given cell.
Return value
Promise<void>A Promise that, if fulfilled, resolves to
voidif the given new text formatting has been successfully applied to the characters within the given range in the given cell of the given table item in the current document.