FileAttachmentOptions
FileAttachmentOptions
Overzicht
FileAttachmentOptions is een interface in Aspose.PDF FOSS voor TypeScript.
Opties voor {@link Page.AddFileAttachment}.
Eigenschappen: addToCatalog, bytes, color, contents, icon, name, en nog 1.
Eigenschappen
| Naam | Type | Toegang | Beschrijving |
|---|---|---|---|
rect | : [number, number, number, number] | Lezen | Annotatierectangle [x1, y1, x2, y2] in PDF-gebruikersruimte. |
name | : string | Lezen | Naam van ingesloten bestand. |
bytes | : Uint8Array | Lezen | Bestandsbytes om in te sluiten. |
icon | `: ‘PushPin’ | ‘Paperclip’ | ‘Graph’ |
addToCatalog | : boolean | Lezen | Registreer ook het bestand in /Names /EmbeddedFiles zodat het wordt weergegeven in het bijlagenpaneel (deelt één filespec-object). |
contents | : string | Lezen | Optionele /Contents notitietekst. |
color | : [number, number, number] | Lezen | Optionele pictogramkleur [r, g, b] in 0..1. |