API referencePDF/A & Conformance

pdfAddInkList

Append one stroke (a point list) to an Ink annotation's

C
BOOL32 __stdcall pdfAddInkList(PPDF IPDF, uint32_t InkAnnot, PFltPoint Points, uint32_t NumPoints);
Delphi
function pdfAddInkList(const IPDF: PPDF; InkAnnot: Cardinal; Points: PFltPoint; NumPoints: Cardinal): LongBool; stdcall;

Purpose. Append one stroke (a point list) to an Ink annotation's /InkList array — a single Ink annotation can have multiple strokes, each added via a separate call to this function.

Parameters.

ParameterDescription
IPDFDocument handle.
InkAnnotTarget Ink annotation handle.
PointsArray of (x, y) points forming one stroke.
NumPointsPoint count.

Return value. True on success.

C# (P/Invoke)

wrappers/dotnet/LumasPdf.cs
[return: MarshalAs(UnmanagedType.Bool)]
Area
PDF/A & Conformance
Category

Content Creation

Exported names

pdfAddInkList

String variants

The …A form takes UTF-8, …W takes UTF-16; a bare name aliases the ANSI form.

See working code

Worked examples — complete programs in ten languages.