Appearance
zeropdf / UnderlineAnnotationOptions
Interface: UnderlineAnnotationOptions
Defined in: src/types.ts:2375
Options for creating an underline text-markup annotation. The annotation draws a solid underline beneath the rectangle defined by x/y/width/height (the quad runs along the bottom edge of the rect).
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
color? | ColorInput | Color used for the underline stroke. Defaults to black. | src/types.ts:2385 |
height | number | Height in PDF points. | src/types.ts:2383 |
structure? | PdfStructureOptions | Additional structure metadata for tagged PDF output. | src/types.ts:2389 |
tag? | "Annot" | "Artifact" | Structure tag used for tagged PDF output. | src/types.ts:2387 |
width | number | Width in PDF points. | src/types.ts:2381 |
x | number | Horizontal position in PDF points. | src/types.ts:2377 |
y | number | Vertical position in PDF points. | src/types.ts:2379 |