Options
All
  • Public
  • Public/Protected
  • All
Menu

Used with ITextSearchResultOptions, describing how the text in SearchResultItem.textBefore and the SearchResultItem.textAfter is computed.

Index

Enumeration members

EXPAND_TO_CONTENT_BLOCK_BOUNDARY

EXPAND_TO_CONTENT_BLOCK_BOUNDARY = "EXPAND_TO_CONTENT_BLOCK_BOUNDARY"

This mode expands the text to the nearest IContentBlock boundary.

EXPAND_TO_WORD_BOUNDARY

EXPAND_TO_WORD_BOUNDARY = "EXPAND_TO_WORD_BOUNDARY"

If text ends within a word, this mode expands to the nearest word boundary (whitespace).

NO_EXPAND

NO_EXPAND = "NO_EXPAND"

Returns the exact number of characters (if available) as defined in numberOfCharactersAfter and numberOfCharactersBefore. This can result in words being sliced in the middle.

Generated using TypeDoc