PDFiumPas 文件

ReadingHighlightColor 属性

组件: TPdfView  ·  单元: PDFium
控制 TPdfView 的朗读高亮叠加层,用于同步语音朗读

Syntax

property ReadingHighlightColor: TColor;

Description

Reading highlight rectangles are supplied in page coordinates and painted over the requested page. This is intended for the current paragraph, heading, table cell, or line being spoken

Clear the highlight when playback stops or when the application moves to another fragment. ReadingHighlightColor controls the overlay colour

Remarks

Example

if Length(Content.Fragments) > 0 then
  PdfView1.SetReadingHighlight(Content.Fragments[0].LineRects, Content.Page);

See Also

SetReadingHighlight, ClearReadingHighlight, ReadingHighlightColor, ReadableContent