TRY NEW VERSION

Try now New API BETA

Try out the new view and capabilities of the API documentation

START

GetCurrentSentence

GetCurrentSentence([type]) → { string }

Returns the current sentence.

Parameters:

Name Type Default Description
type TextPartType "entirely"

Specifies if the whole sentence or only its part will be returned.

Returns:

Type
string

Example

Copy code
window.Asc.plugin.executeMethod ("GetCurrentSentence", ["entirely"], function (res) {
    console.log (res)
});