FileAttachmentOptions
FileAttachmentOptions
अवलोकन
FileAttachmentOptions Aspose.PDF FOSS में TypeScript के लिए एक इंटरफ़ेस है।
{@link Page.AddFileAttachment} के विकल्प।
प्रॉपर्टीज़: addToCatalog, bytes, color, contents, icon, name, और 1 और।
गुण
| नाम | प्रकार | पहुँच | विवरण |
|---|---|---|---|
rect | : [number, number, number, number] | पढ़ें | PDF उपयोगकर्ता स्पेस में Annotation आयत [x1, y1, x2, y2]। |
name | : string | पढ़ें | Embedded फ़ाइल नाम। |
bytes | : Uint8Array | पढ़ें | फ़ाइल बाइट्स को एम्बेड करने हेतु। |
icon | `: ‘PushPin’ | ‘Paperclip’ | ‘Graph’ |
addToCatalog | : boolean | पढ़ें | फ़ाइल को /Names /EmbeddedFiles में भी पंजीकृत करें ताकि यह attachments पैनल में दिखे (एक फ़ाइलस्पेक ऑब्जेक्ट साझा करता है)। |
contents | : string | पढ़ें | वैकल्पिक /Contents नोट टेक्स्ट। |
color | : [number, number, number] | पढ़ें | वैकल्पिक आइकन रंग [r, g, b] 0..1 में। |