THPDFPageDisplayList.GetObject
คัดลอก paint object หนึ่งตัวตาม index โดยไม่ต้องเปิดเผย storage array ของ display list
การประกาศ
function GetObject(Index: Integer;
out Item: THPDFDisplayListObject): boolean;
พารามิเตอร์
Index คือ index ของ paint object แบบฐานศูนย์ และ Item จะรับชนิด object, index ของ operator, bounds หลัง transform และ clip flags
ค่าที่ส่งกลับ
คืน True เมื่อ index ต่ำกว่า ObjectCount ไม่เช่นนั้นคืน False พร้อม item ค่า default
หมายเหตุการใช้งาน
- ใช้
OperatorIndexคู่กับGetTokenเพื่อส่อง operator ต้นทางและ operand ของมัน - bounds เป็นค่าในพื้นที่หน้าที่ compile แล้ว หลังผ่าน transform ของ operator
- record ที่ได้กลับมาไม่ได้โอนความเป็นเจ้าของ page resource มาให้