PDFium Delphi Component Docs

เมธอด RemovePageObjectMarkParam

Component: TPdf  ·  Unit: PDFium
ลบ property หนึ่งรายการออกจากรายการ property ของแท็ก marked-content

Syntax

procedure RemovePageObjectMarkParam(Index, MarkIndex: Integer; const Key: WString);

IndexInteger ดัชนีแบบ zero-based ของ page object
MarkIndexInteger ดัชนีแบบ zero-based ของ mark ภายในวัตถุนั้น
KeyWString ชื่อของ property ที่จะลบ key เป็น PDF name ดังนั้นการไปกลับจึงไม่สูญเสียข้อมูลในช่วง ASCII

Description

แคบกว่า RemovePageObjectMark คือ mark และ property ที่เหลืออยู่ในตำแหน่งเดิม มีเพียงรายการที่ระบุชื่อเท่านั้นที่ถูกลบ

การลบ key ที่ไม่มีอยู่จะไม่เปลี่ยนแปลง mark นั้น

เรียก UpdatePage ก่อนบันทึก เพื่อให้รายการ property ที่แก้ไขแล้วไปถึงไฟล์

See Also

SetPageObjectMarkParam, RemovePageObjectMark, PageObjectMarks, UpdatePage