[]
DsPdfJS API / FileSpecificationProperties
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.
optionaldesc:string
The optional description.
optionalfileName:string
The file name.
optionalstream:EmbeddedFileStreamProperties
The EmbeddedFileStreamProperties defining properties of embedded stream,
optionaluri:string
The external uri.