PDFium Delphi Component Docs

запис TPdfSpokenSpan

Модул: PDFium
Съхранява един съпоставен откъс от речевия текст и диапазона от текст на страницата, от който произлиза

Синтаксис

type TPdfSpokenSpan = record ... end;

Полета

FieldТипPurpose
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

Описание

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

Забележки

Виж също

TPdfSpokenText, SpokenTextAppend, SpokenToPageChar