sempdf v1.9.1Interfaces
Interface: TemplateImageBlock
sempdf / TemplateImageBlock
Defined in: src/types.ts:1897
Template block for rendering a PNG, JPEG, BMP, JBIG2, TIFF, or JPEG2000 image.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
class? | ClassNameInput | Stylesheet class name(s) applied beneath inline options. | src/types.ts:1905 |
data | BinaryData | Binary data for the image, font, PDF, or attachment. | src/types.ts:1901 |
keepWithNext? | boolean | Whether this block should stay on the same page as the following block when possible. | src/types.ts:1907 |
options? | FlowImageOptions | Options that control this item. | src/types.ts:1903 |
type | "png" | "jpeg" | "bmp" | "jbig2" | "tiff" | "jp2" | "webp" | "gif" | "svg" | Discriminator identifying this option or command shape. | src/types.ts:1899 |