procedure SetReadingHighlight(const Rects: TPdfRectangles; PageNumber: Integer);
| Rects | TPdfRectangles. Page-coordinate rectangles to paint |
| PageNumber | Integer. One-based page that owns the rectangles |
ส่งสี่เหลี่ยมไฮไลต์การอ่านมาในพิกัดของหน้า และวาดทับบนหน้าที่ร้องขอ วิธีนี้ตั้งใจใช้กับย่อหน้า หัวข้อ เซลล์ตาราง หรือบรรทัดที่กำลังถูกพูดในขณะนั้น
ล้างไฮไลต์เมื่อการเล่นหยุดหรือเมื่อแอปย้ายไปยัง fragment อื่น ReadingHighlightColor ควบคุมสีของ overlay
if Length(Content.Fragments) > 0 then
PdfView1.SetReadingHighlight(Content.Fragments[0].LineRects, Content.Page);