FloatBoxOptions

Overview

FloatBoxOptions is a interface in Aspose.PDF FOSS for TypeScript.

Options for {@link Document.NewFloatingBox}.

Properties: alt, background, border, bottom, color, left, and 6 more.

Properties

NameTypeAccessDescription
width: numberReadOuter (border-box) width in points.
padding: number | { top: number; right: number; bottom: number; left: number }ReadInside padding between border and content.
top: numberReadGets the top.
right: numberReadGets the right.
bottom: numberReadGets the bottom.
left: numberReadGets the left.
border: { width: number; color: [number, number, number]; sides?: BorderSides }ReadBorder stroke, optionally on a subset of the edges ({ left: true } is a pull-quote rule).
width: numberReadGets the width.
color: [number, number, number]ReadGets the color.
sides: BorderSidesReadGets the sides.
background: [number, number, number]ReadBackground fill color (rgb 0..1).
spacing: numberReadGap between consecutive box elements, the horizontal band the wrapped text keeps from the box (band = width + spacing), and the vertical gap above/ below the box.
alt: stringReadAlt text for the box’s /Figure when the flow is tagged.