| Category | Text state |
|---|
Purpose — Set horizontal text scaling; emitted immediately as a Tz operator.
Declarations
C
BOOL32 __stdcall pdfSetTextScaling(PPDF IPDF, double Value);
Delphi
function pdfSetTextScaling(const IPDF: PPDF; Value: Double): LongBool; stdcall; external 'LumasPdf.dll';
Parameters
| Parameter | Type | Description |
|---|---|---|
IPDF | PPDF | Instance handle with an open page. |
Value | Double | Percentage, PDF default 100 (unscaled). |
Return value — TRUE on success; FALSE if no page is open.
See also — pdfGetTextScaling
C# (P/Invoke)
wrappers/dotnet/LumasPdf.cs
[return: MarshalAs(UnmanagedType.Bool)]
Area
Text
Category
Setters
Exported names
pdfSetTextScaling
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.