Appearance
zeropdf / FreeTextAnnotationOptions
Interface: FreeTextAnnotationOptions
Defined in: src/types.ts:2460
Options for creating a free-text annotation.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
borderWidth? | number | Annotation or field border width in PDF points. | src/types.ts:2478 |
color? | ColorInput | Color used for drawing, text, or highlighting. | src/types.ts:2476 |
font? | FontName | Font used to render text. | src/types.ts:2472 |
fontSize? | number | Font size in PDF points. | src/types.ts:2474 |
height | number | Height in PDF points. | src/types.ts:2468 |
structure? | PdfStructureOptions | Additional structure metadata for tagged PDF output. | src/types.ts:2482 |
tag? | "Annot" | "Artifact" | Structure tag used for tagged PDF output. | src/types.ts:2480 |
text | string | Text content to render or inspect. | src/types.ts:2470 |
width | number | Width in PDF points. | src/types.ts:2466 |
x | number | Horizontal position in PDF points. | src/types.ts:2462 |
y | number | Vertical position in PDF points. | src/types.ts:2464 |