RedactAnnotation

RedactAnnotation

ภาพรวม

RedactAnnotation เป็นคลาสใน Aspose.PDF FOSS สำหรับ TypeScript. สืบทอดจาก: Annotation.

การระบุ /Redact (PDF 32000-1 §12.5.6.23): a mark เหนือพื้นที่หนึ่ง, บวก การซ้อนทับเพื่อวาดเมื่อถูกนำไปใช้.

คลาสนี้ประกาศ 2 วิธีสำหรับวัตถุ RedactAnnotation ในโปรแกรม TypeScript. วิธีที่มีให้รวมถึง: Flatten, constructor. สมาชิกสาธารณะทั้งหมดสามารถเข้าถึงได้โดยแอปพลิเคชัน TypeScript ใด ๆ หลังจากติดตั้งแพคเกจ Aspose.PDF FOSS สำหรับ TypeScript. คุณสมบัติ: Alignment, Author, Color, Contents, Flags, FontSize, และอีก 14 รายการ.

คุณสมบัติ

ชื่อประเภทการเข้าถึงคำอธิบาย
QuadPointsnumber[]อ่าน/เขียนรับจุดสี่เหลี่ยม.
InteriorColor`[number, number, number]undefined`อ่าน/เขียน
Alignment`‘left’‘center’‘right’`
OverlayText`stringundefined`อ่าน/เขียน
Repeatbooleanอ่าน/เขียนรับการทำซ้ำ.
FontSizenumberอ่าน/เขียนรับขนาดฟอนต์.
TextColor[number, number, number]อ่าน/เขียนรับสีข้อความ.
Author`stringundefined`อ่าน/เขียน
Overlay`PdfStreamundefined`อ่าน
Subtypestringอ่านรับค่า subtype.
Rect`[number, number, number, number]undefined`อ่าน/เขียน
Color`[number, number, number]undefined`อ่าน/เขียน
Contents`stringundefined`อ่าน/เขียน
Name`stringundefined`อ่าน/เขียน
Layer`Layerundefined`อ่าน/เขียน
ModDate`Datestringundefined`
Flagsnumberอ่าน/เขียนรับค่าสถานะ.
Printbooleanอ่าน/เขียนรับการพิมพ์.
Hiddenbooleanอ่าน/เขียนรับค่า hidden.
Opacity`numberundefined`อ่าน/เขียน

วิธีการ

ลายเซ็นคำอธิบาย
constructor(doc: Document, Dict: PdfDict)เรียกคอนสตรัคเตอร์ constructor(doc, Dict) บนอินสแตนซ์ RedactAnnotation นี้.
Flatten() → booleanฝังเฉพาะ annotation นี้ลงในเนื้อหาหน้าคงที่: วาดลักษณะการแสดงผล /AP /N ของมันลงใน /Contents ของหน้า ณ /Rect ของมันและลบออกจาก /Annots.
 ภาษาไทย