Skip to main content

Interface: TemplateImageBlock

Template block for rendering a PNG, JPEG, BMP, JBIG2, TIFF, or JPEG2000 image.

Properties

PropertyTypeDescription
class?string | readonly string[]Stylesheet class name(s) applied beneath inline options.
dataBinaryDataBinary data for the image, font, PDF, or attachment.
keepWithNext?booleanWhether this block should stay on the same page as the following block when possible.
options?FlowImageOptionsOptions that control this item.
type"png" | "jpeg" | "bmp" | "jbig2" | "tiff" | "jp2" | "webp" | "gif" | "svg"Discriminator identifying this option or command shape.