PDFium Delphi Component Docs

registro TPdfReadingUnit

Unidad: PDFium
Guarda una unidad de lectura hablada con texto, tipo semántico, página, rectángulos de resaltado, índices de origen, estado de texto alternativo e idioma

Syntax

type TPdfReadingUnit = record ... end;

Fields

FieldTypePurpose
TextWStringText to speak
KindTPdfContentFragmentKindSource TPdfContentFragmentKind
HeadingLevelIntegerHeading level 1..6 for headings, otherwise 0
PageIntegerOne-based page number
RectsTPdfRectanglesHighlight rectangles in page coordinates
FragmentIndexIntegerSource fragment index
SentenceIndexIntegerÍndice de frase dentro del fragmento
IsAlternateTextBooleanTrue cuando Text provino de Alt o ActualText
LanguageWStringLanguage tag for voice selection

Description

Las unidades de lectura conservan completos los títulos y el texto alternativo de las figuras, dividen el texto del párrafo en los límites de las oraciones, preservan los puntos decimales y dejan el cursor de lectura como un índice de matriz propiedad del llamador

Use Rects con TPdfView.SetReadingHighlight y Language para coordinar el resaltado visual con una voz TTS

Remarks

See Also

ReadableContent, SetReadingHighlight