GetCurrentSentence
Returns the current sentence.
Syntax
expression.GetCurrentSentence(type);
expression
- A variable that represents a Api class.
Parameters
Name | Required/Optional | Data type | Default | Description |
---|---|---|---|---|
type | Optional | TextPartType | "entirely" | Specifies if the whole sentence or only its part will be returned. |
Returns
string
Example
window.Asc.plugin.executeMethod ("GetCurrentSentence", ["entirely"], function (res) {
console.log (res)
});