FileAttachmentAnnotation

FileAttachmentAnnotation

अवलोकन

FileAttachmentAnnotation Aspose.PDF FOSS में TypeScript के लिए एक क्लास है। विरासत में लेता है: Annotation.

एक /FileAttachment एनोटेशन: पृष्ठ पर एक आइकन जिसका /FS एक फ़ाइल एम्बेड करता है।

यह क्लास TypeScript प्रोग्रामों में FileAttachmentAnnotation ऑब्जेक्ट्स के लिए 3 मेथड घोषित करती है। उपलब्ध मेथड्स में शामिल हैं: Flatten, GetBytes, constructor. सभी सार्वजनिक सदस्य किसी भी TypeScript एप्लिकेशन के लिए उपलब्ध हैं, जब Aspose.PDF FOSS को TypeScript पैकेज के लिये इंस्टॉल किया जाता है। प्रॉपर्टीज़: Color, Contents, Description, FileName, Flags, Hidden, और 8 और.

गुण

नामप्रकारपहुँचविवरण
Iconstringपढ़ें/लिखेंआइकन प्राप्त करता है।
FileNamestringपढ़ेंफ़ाइल का नाम प्राप्त करता है।
Description`stringundefined`पढ़ें
Subtypestringपढ़ेंउपप्रकार प्राप्त करता है।
Rect`[number, number, number, number]undefined`पढ़ें/लिखें
Color`[number, number, number]undefined`पढ़ें/लिखें
Contents`stringundefined`पढ़ें/लिखें
Name`stringundefined`पढ़ें/लिखें
Layer`Layerundefined`पढ़ें/लिखें
ModDate`Datestringundefined`
Flagsnumberपढ़ें/लिखेंफ़्लैग्स प्राप्त करता है।
Printbooleanपढ़ें/लिखेंप्रिंट प्राप्त करता है।
Hiddenbooleanपढ़ें/लिखेंछिपे हुए को प्राप्त करता है।
Opacity`numberundefined`पढ़ें/लिखें

विधियाँ

हस्ताक्षरविवरण
GetBytes() → Uint8Arrayएंबेडेड बाइट्स को डिकोड करें।
constructor(doc: Document, Dict: PdfDict)इस FileAttachmentAnnotation इंस्टेंस पर constructor(doc, Dict) को कॉल करता है।
Flatten() → booleanइस एनो़टेशन को स्थैतिक पेज सामग्री में बेक करें: इसके /AP /N रूप को पेज के /Contents में उसके /Rect पर ड्रॉ करें और इसे /Annots से हटा दें।
 हिन्दी