API referenceCore SDK

pdfGetBorderStyle

Set/get a document-global default annotation border style,

C
int32_t __stdcall pdfGetBorderStyle(PPDF IPDF);
BOOL32 __stdcall pdfSetBorderStyle(PPDF IPDF, int32_t Style);
Delphi
function pdfGetBorderStyle(const IPDF: PPDF): Integer; stdcall;
function pdfSetBorderStyle(const IPDF: PPDF; Style: Integer): LongBool; stdcall;

Purpose. Set/get a document-global default annotation border style, consulted as the fallback when an annotation-creation call doesn't specify its own border style explicitly.

Return value. Getter: the current default; 0 if IPDF invalid. Setter: True if IPDF valid.

C# (P/Invoke)

wrappers/dotnet/LumasPdf.cs
public static extern int pdfGetBorderStyle(IntPtr IPDF);
Area
Core SDK
Category

Getters

Exported names

pdfGetBorderStyle

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.