sempdf v1.9.1Interfaces
Interface: FlowHighlightOptions
sempdf / FlowHighlightOptions
Defined in: src/types.ts:1584
Options for placing a highlight annotation through the flow layout API.
Extends
Omit<HighlightAnnotationOptions,FlowBoxKeys>.FlowBlockSpacingOptions
Properties
| Property | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|
color? | ColorInput | Color used for drawing, text, or highlighting. | HighlightAnnotationOptions.color | src/types.ts:3008 |
height | number | Height in PDF points. | HighlightAnnotationOptions.height | src/types.ts:3006 |
margin? | FlowMarginShorthand | CSS-like margin shorthand in PDF points. | FlowBlockSpacingOptions.margin | src/types.ts:1271 |
marginBottom? | number | Bottom margin in PDF points. | FlowBlockSpacingOptions.marginBottom | src/types.ts:1277 |
marginLeft? | number | Left margin in PDF points. | FlowBlockSpacingOptions.marginLeft | src/types.ts:1279 |
marginRight? | number | Right margin in PDF points. | FlowBlockSpacingOptions.marginRight | src/types.ts:1275 |
marginTop? | number | Top margin in PDF points. | FlowBlockSpacingOptions.marginTop | src/types.ts:1273 |
structure? | PdfStructureOptions | Additional structure metadata for tagged PDF output. | HighlightAnnotationOptions.structure | src/types.ts:3012 |
tag? | AnnotTagOrArtifact | Structure tag used for tagged PDF output. | HighlightAnnotationOptions.tag | src/types.ts:3010 |
width? | number | Width override in PDF points. | - | src/types.ts:1591 |
x? | number | Horizontal position override in PDF points. | - | src/types.ts:1587 |
y? | number | Vertical position override in PDF points. | - | src/types.ts:1589 |