Search results

Selection

Selection

Properties

cellFormat SelectionCellFormat

Gets the instance of selection cell format.

characterFormat SelectionCharacterFormat

Gets the instance of selection character format.

contextType string

Gets the context type of the selection.

imageFormat SelectionImageFormat

Gets the instance of selection image format.

paragraphFormat SelectionParagraphFormat

Gets the instance of selection paragraph format.

rowFormat SelectionRowFormat

Gets the instance of selection row format.

sectionFormat SelectionSectionFormat

Gets the instance of selection section format.

tableFormat SelectionTableFormat

Gets the instance of selection table format.

text string

Gets the text within selection.

Methods

closeHeaderFooter

Closes the header and footer region.

Returns void

copy

Copies the selected content to clipboard.

Returns void

Copies the hyperlink URL if the context is within hyperlink.

Returns void

goToFooter

Moves the selection to the footer of current page.

Returns void

goToHeader

Moves the selection to the header of current page.

Returns void

goToPage

Moves the selection to the start of specified page number.

Returns void

Fires the requestNavigate event if current selection context is in hyperlink.

Returns void

select

Select content based on selection settings

Returns void

selectBookmark

Selects the specified bookmark.

Parameter Type Description
name string

Returns void

selectCell

Selects the entire cell if the context is within table.

Returns void

selectColumn

Selects the entire column if the context is within table.

Returns void

selectRow

Selects the entire row if the context is within table.

Returns void

selectTable

Selects the entire table if the context is within table.

Returns void