เมธอด THPDFPage.SetRenditionMediaScreenParameters
ตั้งค่า state ของพารามิเตอร์หน้าจอ rendition media สำหรับการวาดหน้าที่ส่งออกต่อจากนี้ การตั้งค่านี้กระทบการวาดหน้า, entry ของ page dictionary, metadata ความสอดคล้อง หรือ text ที่ emit ในภายหลัง ไม่ใช่เนื้อหาที่เขียนไปแล้ว
การประกาศ
procedure SetRenditionMediaScreenParameters(Rendition: THPDFDictionaryObject; WindowType: Integer; BackgroundR, BackgroundG, BackgroundB, BackgroundOpacity: Single; MonitorIndex: Integer; BestEffort: Boolean);
ยูนิต
HPDFDoc
พารามิเตอร์
| ชื่อ | หน้าที่ |
|---|---|
Rendition | input ที่ SetRenditionMediaScreenParameters ใช้ |
WindowType | input ที่ SetRenditionMediaScreenParameters ใช้ |
BackgroundR | input ที่ SetRenditionMediaScreenParameters ใช้ |
BackgroundG | input ที่ SetRenditionMediaScreenParameters ใช้ |
BackgroundB | input ที่ SetRenditionMediaScreenParameters ใช้ |
BackgroundOpacity | ค่าความโปร่งใสที่ graphics state หรือ workflow ของ soft mask ใช้ |
MonitorIndex | index ฐานศูนย์หรือ index ของ object ที่ใช้เลือกรายการที่มีอยู่ |
BestEffort | input ที่ SetRenditionMediaScreenParameters ใช้ |
ค่าที่ส่งกลับ
สมาชิกนี้ไม่คืนค่า
หมายเหตุการใช้งาน
- ใช้ API นี้ใน workflow การวาดหน้า ก่อนที่หน้า resource ฟิลด์ หรือ object catalog ที่ได้รับผลจะถูก finalize
- คงชื่อ object ชื่อฟิลด์ ชื่อ resource และ handle ที่คืนค่ามาให้นิ่ง จนกว่าเอกสารจะ finalize
- การแก้ระดับหน้ากระทบ operator ที่ตามมาในหน้าเดียวกัน ถ้าไม่อยากให้ค่าชั่วคราวรั่วไปใช้ต่อ ให้ save แล้ว restore graphics state