PDFium Component Docs

δομή TPdfSpokenSpan

Unit: PDFium
Αποθηκεύει μία χαρτογραφημένη ακολουθία κειμένου ομιλίας και το εύρος κειμένου σελίδας από το οποίο προήλθε

Syntax

type TPdfSpokenSpan = record ... end;

Fields

FieldTypePurpose
SpokenStartIntegerZero-based character offset inside TPdfSpokenText.Text
SpokenCountIntegerCharacter count in the spoken text covered by this span
PageIntegerOne-based source page number
StartIndexIntegerZero-based FTextPage character index of the source range
CountIntegerSource character count mapped to this span

Description

A span links a run in the speech-engine string back to the page text so read-aloud code can highlight or select the original PDF characters

Remarks

See Also

TPdfSpokenText, SpokenTextAppend, SpokenToPageChar