Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

A array contains strings for  highlightfor highlight.

Code Block
Object.aFindString = array

Return Value

Array
 The array  can has one column - than  background color will be yelow for all strings. Or can has two columns - than second column contains background color for string.

Remarks

XFRX version: 17.0
Applies To: oExportOptions Object, oPrinterOptions Object, oDisplayDefaults Object

Example

Simply list of words
Code Block
WITH loPreview.oDisplayDefaults 
.FindColor = RGB(1,185,224)
DIMENSION .aFindString(2)
.aFindString(1)="first"
.aFindString(2)="word"
ENDWITH


List of words and colors

Code Block
WITH loPreview.oDisplayDefaults 
DIMENSION .aFindString(2, 2)
.aFindString(1, 1)="first"
.aFindString(1, 2)=RGB(210,210,210)
.aFindString(2, 1)="word"
.aFindString(2, 2)=RGB(150,150,0)
ENDWITH