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): EmbedPdfComponentParameters:
| Parameter | Type | Description |
|---|---|---|
| context | EmbedContext | |
| file | TFile | |
| subpath? | string | undefined | *(Optional)* |
Returns: EmbedPdfComponent