Function TWPRTFEnginePaint.SetHOTStyle(start_par:TParagraph; end_par:TParagraph; start_posinpar:Integer; end_posinpar:Integer; HotMode:Integer) : Boolean

Unit: WPRTEPaint
Class: WPRTEPaint.TWPRTFEnginePaint

Parameters

  • start_par:TParagraph
  • end_par:TParagraph
  • start_posinpar:Integer
  • end_posinpar:Integer
  • HotMode:Integer

Returns

The type of the result value is Boolean.

Description

Updates the hot style for the given paragraphs. If Repaint is required the result value is TRUE
Example: Memo.SetHOTStyle(par,nil,0,0,0) - highlights one paragragraph