เมธอด THotPDF.ExtractLoadedPageCharacters

ส่งคืน THPDFCharacterRecord หนึ่งรายการสำหรับ Unicode scalar เชิงตรรกะทุกตัวที่แตกออกจากหน้าที่โหลดไว้

ไวยากรณ์ Delphi

function ExtractLoadedPageCharacters(PageIndex: Integer;
  out ACharacters: THPDFCharacterArray): boolean;

คำอธิบาย

เมธอดนี้ขยาย glyph cluster ที่มีตำแหน่งกำกับโดยไม่ทิ้ง mapping แบบ multi-scalar ของ /ToUnicode โดยแต่ละรีเคิร์ดระบุ glyph ต้นทาง ช่วง cluster ดัชนีและจำนวนของ ligature component, source content token, marked-content identifier, quadrilateral หลังแปลงพิกัด และ baseline เอาไว้

component ของ ligature ใช้เรขาคณิตร่วมกับ glyph ต้นทาง เพราะ content stream ของ PDF วาง glyph เป็นหน่วยเดียว GeometryExact จะเป็น true เมื่อฟอนต์ระบุทั้ง glyph width และ ascent/descent ของ descriptor มาให้ ไม่เช่นนั้น HotPDF จะส่งกล่อง fallback แบบปลอดภัยพร้อมตั้ง flag เป็น false

ดูเพิ่มเติมได้ที่ ExtractLoadedPageGlyphs