pdfGet3DAnnotStream
Read back a 3D annotation's embedded U3D stream bytes and
C
BOOL32 __stdcall pdfGet3DAnnotStream(PPDF IPDF, uint32_t Annot, uint8_t* Data, uint32_t* Size, PAnsiString* SubType);
Delphi
function pdfGet3DAnnotStream(const IPDF: PPDF; Annot: Cardinal; Data: PByte; var Size: Cardinal; SubType: PAnsiString): LongBool; stdcall;
Purpose. Read back a 3D annotation's embedded U3D stream bytes and its /Subtype string.
Parameters.
| Parameter | Description |
|---|---|
IPDF | Document handle. |
Annot | Document-wide 3D-annotation handle. |
Data | Output buffer for the stream bytes. |
Size | In/out: buffer capacity in, actual byte length out. |
SubType | Output: the stream's subtype string. |
Return value. True if Annot resolves to a 3D annotation with retrievable stream data; False otherwise.
C# (P/Invoke)
wrappers/dotnet/LumasPdf.cs
[return: MarshalAs(UnmanagedType.Bool)]
Area
Annotations
Category
Getters
Exported names
pdfGet3DAnnotStream
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.