[]
Represents information about a file for a particular platform, see FileSpecification.file, FileSpecification.unicodeFile, FileSpecification.dosFile, FileSpecification.macFile and FileSpecification.unixFile.
get embeddedFileStream(): EmbeddedFileStream;
Gets the EmbeddedFileStream associated with this file specification.
set embeddedFileStream(value): void;
Sets the EmbeddedFileStream associated with this file specification.
void
get fileName(): string;
Gets the file specification string of the form described in the PDF Specification Section 3.10.1, "File Specification Strings".
string
set fileName(value): void;
Sets the file specification string of the form described in the PDF Specification Section 3.10.1, "File Specification Strings".
string
void
get id(): number;
Gets the reference to the object.
number
get om(): ObjectManager;
Gets the owner ObjectManager instance.
free(): void;
Detaches the object from the ObjectManager and deallocates its memory, if possible.
void
getStream(): Uint8Array<ArrayBufferLike>;
Gets the Uint8Array containing the content of this FileInfo, or null if the file specification is empty.
Uint8Array<ArrayBufferLike>
rebind(omTo): void;
Rebinds the object from the current ObjectManager to the specified one.
The new ObjectManager for the object.
void