C
int32_t __stdcall pdfGetLineJoinStyle(PPDF IPDF);
BOOL32 __stdcall pdfSetLineJoinStyle(PPDF IPDF, int32_t Style);
Delphi
function pdfGetLineJoinStyle(const IPDF: PPDF): Integer; stdcall;
function pdfSetLineJoinStyle(const IPDF: PPDF; Style: Integer): LongBool; stdcall;
Purpose. Set/get the current line-join style (TLineJoinStyle: 0=Miter, 1=Round, 2=Bevel).
Description. Same real, immediate-emission pattern as pdfSetLineCapStyle: caches into FCurLineJoin and writes a j line-join operator via WriteLineJoin right away.
Parameters.
| Parameter | Description |
|---|---|
IPDF | Document handle. |
Style | 0=Miter join, 1=Round join, 2=Bevel join. |
Return value. pdfSetLineJoinStyle: True on success, False if no current content stream. pdfGetLineJoinStyle: the cached current style; 0 if IPDF is invalid.
See also. pdfGetLineCapStyle, pdfGetMiterLimit (relevant only for a Miter join).
C# (P/Invoke)
wrappers/dotnet/LumasPdf.cs
[return: MarshalAs(UnmanagedType.Bool)]
Area
Graphics
Category
Setters
Exported names
pdfSetLineJoinStyle
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.