PDFium Component Docs

TPdfWordBox 레코드

유닛: PDFium
단어 하나, FTextPage 문자 범위, 페이지 좌표 사각형, 1부터 시작하는 페이지 번호를 저장합니다

Syntax

type TPdfWordBox = record ... end;

Fields

FieldTypePurpose
TextWStringWord text
StartIndexIntegerZero-based FTextPage character index
CountIntegerNumber of characters in the word
RectTPdfRectanglePage-space union of the word character boxes
PageIntegerOne-based page number

Description

Word boxes split page text on whitespace, tabs, line breaks, and NBSP characters

The component methods also union FPDFText_GetCharBox rectangles into one page-space TPdfRectangle for each word

Remarks

See Also

Text, SetReadingHighlight