API referenceCore SDK

pdfSetItalicAngle

Set/get a document-global italic-slant-angle value.

C
double __stdcall pdfGetItalicAngle(PPDF IPDF);
BOOL32 __stdcall pdfSetItalicAngle(PPDF IPDF, double Angle);
Delphi
function pdfGetItalicAngle(const IPDF: PPDF): Double; stdcall;
function pdfSetItalicAngle(const IPDF: PPDF; Angle: Double): LongBool; stdcall;

Purpose. Set/get a document-global italic-slant-angle value.

Description. Verified write-only no-op. Despite the getter's own source comment noting this is deliberately "settable state" (as opposed to a metric derived from the current font's real /ItalicAngle), the stored FItalicAngle field (default 14, an explicit DIFF from the classic API's default) has no consumer anywhere in the codebase — it is never read by font resolution, synthetic-oblique-slant rendering, or any glyph-drawing code path. Setting it has no observable effect on output.

Parameters.

ParameterDescription
IPDFDocument handle.
AngleStored but never consulted.

Return value. Getter: the stored value (default 14); 0.0 if IPDF invalid. Setter: True if IPDF valid.

C# (P/Invoke)

wrappers/dotnet/LumasPdf.cs
[return: MarshalAs(UnmanagedType.Bool)]
Area
Core SDK
Category

Setters

Exported names

pdfSetItalicAngle

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.