GetSelectedText
function GetSelectedText(
prop: object,
prop.NewLine: boolean,
prop.NewLineParagraph: boolean,
prop.Numbering: boolean,
prop.Math: boolean,
prop.TableCellSeparator: string,
prop.TableRowSeparator: string,
prop.ParaSeparator: string,
prop.TabSymbol: string,
prop.NewLineSeparator: string,
): string
Description
Returns the selected text from the document.
Parameters
- prop
object
The resulting string display properties.
- prop.NewLine
boolean
Defines if the resulting string will include line boundaries or not (they will be replaced with '\r').
- prop.NewLineParagraph
boolean
Defines if the resulting string will include paragraph line boundaries or not.
- prop.Numbering
boolean
Defines if the resulting string will include numbering or not.
- prop.Math
boolean
Defines if the resulting string will include mathematical expressions or not.
- prop.TableCellSeparator
string
Defines how the table cell separator will be specified in the resulting string.
- prop.TableRowSeparator
string
Defines how the table row separator will be specified in the resulting string.
- prop.ParaSeparator
string
Defines how the paragraph separator will be specified in the resulting string.
- prop.TabSymbol
string
Defines how the tab will be specified in the resulting string.
- prop.NewLineSeparator
string
Defines how the line separator will be specified in the resulting string (this property has the priority over NewLine).
Returns
string