Skip to content

EmbedRegistryEmbedByExtensionRecord.[FileExtension.pdf] method

EmbedRegistryEmbedByExtensionRecord › [FileExtension.pdf]

Unofficial

Creates an embed component for a PDF file.

Signature:

[FileExtension.pdf](context: EmbedContext, file: TFile, subpath?: string | undefined): EmbedPdfComponent

Parameters:

Parameter Type Description
context EmbedContext
file TFile
subpath? string | undefined *(Optional)*

Returns: EmbedPdfComponent