GetTextBlockCharOrigin

텍스트, 추출, 지오메트리

설명

선택된 문서 원점과 배율을 적용한 뒤 추출된 문자 하나의 베이스라인 원점을 반환합니다

구문

Delphi

Function TPDFlib.GetTextBlockCharOrigin(TextBlockListID, Index, CharIndex: Integer; Out X, Y: Double): Integer;

매개변수

TextBlockListIDExtractPageTextBlocks가 반환한 핸들
Index1 기반 텍스트 블록 인덱스
CharIndex1 기반 문자 위치
X, Y변환된 베이스라인 원점을 받습니다

반환 값

성공 시 1이며, 핸들이나 인덱스가 잘못되면 출력을 0으로 두고 0을 반환합니다

비고

다음 문자 원점은 일반적으로 현재 원점에 M11가 M12과 GetTextBlockCharMatrix로 반환한 베이스라인 진행을 더한 것과 같습니다

참고 항목

GetTextBlockCharMatrix, DAGetTextBlockCharOrigin