Skip to content

zeropdf v1.3.0


zeropdf / FlowImageOptions

Interface: FlowImageOptions โ€‹

Defined in: src/types.ts:1183

Options for placing images through the flow layout API.

Extends โ€‹

Properties โ€‹

PropertyTypeDescriptionInherited fromDefined in
align?"left" | "center" | "right"Horizontal alignment for laid-out content.-src/types.ts:1198
altText?stringAlternate text for tagged non-text content.JpegImageOptions.altTextsrc/types.ts:2112
height?numberHeight in PDF points.-src/types.ts:1194
iccProfile?BinaryDataICC profile bytes used to tag the image's color space as ICCBased (ISO 32000-2 ยง 8.6.5.5). When provided, the image's ColorSpace becomes [/ICCBased ref] referencing the embedded profile stream.JpegImageOptions.iccProfilesrc/types.ts:2122
margin?FlowMarginShorthandCSS-like margin shorthand in PDF points.FlowBlockSpacingOptions.marginsrc/types.ts:1137
marginBottom?numberBottom margin in PDF points.FlowBlockSpacingOptions.marginBottomsrc/types.ts:1143
marginLeft?numberLeft margin in PDF points.FlowBlockSpacingOptions.marginLeftsrc/types.ts:1145
marginRight?numberRight margin in PDF points.FlowBlockSpacingOptions.marginRightsrc/types.ts:1141
marginTop?numberTop margin in PDF points.FlowBlockSpacingOptions.marginTopsrc/types.ts:1139
maxWidth?numberMaximum image width in PDF points.-src/types.ts:1196
structure?PdfStructureOptionsAdditional structure metadata for tagged PDF output.JpegImageOptions.structuresrc/types.ts:2116
tag?| PdfFigureStructureTag | "Artifact"Structure tag used for tagged PDF output.JpegImageOptions.tagsrc/types.ts:2114
width?numberWidth in PDF points.-src/types.ts:1192

Released under the ISC license.