ITMSFNCCustomPDFRichTextLib.SetBackgroundColor Method
Sets the background highlight color for the specified text range.
API unit family: TMSFNCPDFRichTextLib
Declaring type: ITMSFNCCustomPDFRichTextLib
Syntax
procedure SetBackgroundColor(AColor: TTMSFNCGraphicsColor; AStart: Integer = -1; ALength: Integer = -1);
Parameters
| Name | Description |
|---|---|
AColor |
Background color to apply behind the characters. |
AStart |
Zero-based start index; -1 uses the selection start. |
ALength |
Number of characters; -1 uses the selection length. |