Appearance
zeropdf / FlowNoteOptions
Interface: FlowNoteOptions
Defined in: src/types.ts:1326
Options for placing a text note annotation through the flow layout API.
Extends
Omit<NoteAnnotationOptions,"x"|"y"|"width">.FlowBlockSpacingOptions
Properties
| Property | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|
contents | string | Annotation contents text. | NoteAnnotationOptions.contents | src/types.ts:2448 |
height? | number | Height in PDF points. | NoteAnnotationOptions.height | src/types.ts:2446 |
margin? | FlowMarginShorthand | CSS-like margin shorthand in PDF points. | FlowBlockSpacingOptions.margin | src/types.ts:1137 |
marginBottom? | number | Bottom margin in PDF points. | FlowBlockSpacingOptions.marginBottom | src/types.ts:1143 |
marginLeft? | number | Left margin in PDF points. | FlowBlockSpacingOptions.marginLeft | src/types.ts:1145 |
marginRight? | number | Right margin in PDF points. | FlowBlockSpacingOptions.marginRight | src/types.ts:1141 |
marginTop? | number | Top margin in PDF points. | FlowBlockSpacingOptions.marginTop | src/types.ts:1139 |
open? | boolean | Whether the note annotation is initially open. | NoteAnnotationOptions.open | src/types.ts:2450 |
structure? | PdfStructureOptions | Additional structure metadata for tagged PDF output. | NoteAnnotationOptions.structure | src/types.ts:2454 |
tag? | "Annot" | "Artifact" | Structure tag used for tagged PDF output. | NoteAnnotationOptions.tag | src/types.ts:2452 |
width? | number | Width override in PDF points. | - | src/types.ts:1333 |
x? | number | Horizontal position override in PDF points. | - | src/types.ts:1329 |
y? | number | Vertical position override in PDF points. | - | src/types.ts:1331 |