enableTextSelection property

bool enableTextSelection
final

Indicates whether the text selection can be performed or not.

On a touch device, the text selection can be performed by long pressing any text present in the document. And, on a desktop browser, the text selection can be performed using mouse dragging with selection interaction mode enabled.

Text selection can not be performed on a desktop browser when pan interaction mode is enabled.

If this property is set as false, then the text selection will not happen on a touch device and desktop browser with selection interaction mode enabled.

Defaults to true.

Note: The images in the document will not be selected and also, the multiple page text selection is not supported for now. Also, on a desktop browser, this will have no effect with pan interaction mode.

See Also: interactionMode

Implementation

final bool enableTextSelection;