API referenceCore SDK

pdfSetSpaceWidthFactor

Set a document-global multiplier intended to scale the

C
BOOL32 __stdcall pdfSetSpaceWidthFactor(PPDF IPDF, double Value);
Delphi
function pdfSetSpaceWidthFactor(const IPDF: PPDF; Value: Double): LongBool; stdcall;

Purpose. Set a document-global multiplier intended to scale the effective width of the space character in text-layout calculations.

Description. Verified write-only no-op, same class as pdfSetItalicAngle above. Stores Value into FSpaceWidthFactor (default 1.0); this field has no read-site anywhere in the codebase's text-layout/measurement code.

Parameters.

ParameterDescription
IPDFDocument handle.
ValueStored but never consulted.

Return value. True if IPDF is valid.

C# (P/Invoke)

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

Setters

Exported names

pdfSetSpaceWidthFactor

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.