double __stdcall pdfGetItalicAngle(PPDF IPDF);
BOOL32 __stdcall pdfSetItalicAngle(PPDF IPDF, double Angle);
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.
| Parameter | Description |
|---|---|
IPDF | Document handle. |
Angle | Stored but never consulted. |
Return value. Getter: the stored value (default 14); 0.0 if IPDF invalid. Setter: True if IPDF valid.
C# (P/Invoke)
public static extern double pdfGetItalicAngle(IntPtr IPDF);
Getters
pdfGetItalicAngle
The …A form takes UTF-8, …W
takes UTF-16; a bare name aliases the ANSI form.
Worked examples — complete programs in ten languages.