[]
type FileSpecificationProperties = object;
Represents a PDF file specification, defining how external files are referenced or embedded.
This class implements the PDF specification for file references, supporting three primary methods:
URI Reference - Link to an external resource
uri propertyExternal File - Reference to a non-embedded file
fileName propertyEmbedded Stream - File content embedded directly in the PDF
stream propertyUsage Notes:
fileName and stream can be combined to create an embedded file with a specific nameThe FileSpecification class can be used in more complex cases.
optional desc?: string;
The optional description.
optional fileName?: string;
The file name.
optional stream?: EmbeddedFileStreamProperties;
The EmbeddedFileStreamProperties defining properties of embedded stream,
optional uri?: string;
The external uri.