PDFium Delphi Component Docs

NextReadingUnitOfKind 함수

유닛: PDFium
Kind 가 요청한 TPdfContentFragmentKind 와 일치하는 다음 또는 이전 TPdfReadingUnit 을 찾습니다

Syntax

function NextReadingUnitOfKind(const Units: TPdfReadingUnits; CurrentIndex: Integer; Kind: TPdfContentFragmentKind; GoForward: Boolean): Integer;

Parameters

UnitsTPdfReadingUnits
CurrentIndexInteger
KindTPdfContentFragmentKind
GoForwardBoolean

Return Value

Integer

Description

읽기 유닛은 제목과 그림 대체 텍스트는 통째로 유지하고, 문단 텍스트는 문장 경계에서 나누며, 소수점은 보존하고, 읽기 커서를 호출자가 소유하는 배열 인덱스로 남겨 둡니다

TTS 음성과 화면 하이라이트를 맞추려면 Rects를 TPdfView.SetReadingHighlight 및 Language와 함께 사용하세요

Remarks

Example

Index := NextReadingUnitOfKind(Units, Index, cfHeading, True);

See Also

ReadableContent, SetReadingHighlight