API referenceCore SDK

pdfSetEMFFrameDPI

Set the DPI used to interpret an EMF metafile's device-space

C
BOOL32 __stdcall pdfSetEMFFrameDPI(PPDF IPDF, uint32_t DPIX, uint32_t DPIY);
Delphi
function pdfSetEMFFrameDPI(const IPDF: PPDF; DPIX, DPIY: Cardinal): LongBool; stdcall;

Purpose. Set the DPI used to interpret an EMF metafile's device-space frame bounds during replay — the EMF counterpart of pdfSetWMFPixelPerInch.

Return value. True if IPDF is valid.

See also. pdfInsertMetafile.

C# (P/Invoke)

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

Setters

Exported names

pdfSetEMFFrameDPI

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.