PDFium Component Docs

ฟังก์ชัน TextInRectangle

Component: TPdfView  ·  Unit: PDFium
ตัวห่อ TPdfView ที่ส่งต่อไปยัง TPdf.TextInRectangle

Syntax

function TextInRectangle(Left, Top, Right, Bottom: Integer): WString; overload;

 

function TextInRectangle(Rectangle: TRect): WString; overload;

Description

สะท้อน TPdf.TextInRectangle ส่วนประกอบ TPdfView จะส่งต่อการเรียกไปยังอินสแตนซ์ Pdf ที่อยู่ภายใต้และรีเฟรชมุมมองหากการเรียกนั้นเปลี่ยนแปลงเอกสาร

หมายเหตุเชิงความหมายทั้งหมดของ TPdf.TextInRectangle ใช้ได้เหมือนกันที่นี่ ความแตกต่างเพียงอย่างเดียวคือคุณเรียกการกระทำผ่านคอนโทรลภาพแทนอ็อบเจ็กต์โมเดล

เมื่อ TPdfView เชื่อมโยงกับ TPdf ภายนอก (กำหนด PdfView1.Pdf := Pdf1) การอ่านสมาชิกนี้จะคืนข้อมูลเดียวกับ Pdf1.TextInRectangle เมื่อ TPdfView เป็นเจ้าของ TPdf ภายในเอง สมาชิกนี้จะเป็นตัวเข้าถึงสาธารณะเพียงตัวเดียว

Remarks

Example

if PdfView1.Active then
  Memo1.Lines.Add('TextInRectangle = ' + VarToStr(PdfView1.TextInRectangle));

See Also

TextInRectangle, Pdf