Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

DynaPDF.SetWMFDefExtent

Sets the default pixels per inch of the y-axis which are used to convert portable WMF files to EMF.

Component Version macOS Windows Linux Server iOS SDK
DynaPDF 7.3 ❌ No ✅ Yes ❌ No ✅ Yes, on Windows ❌ No
MBS( "DynaPDF.SetWMFDefExtent"; PDF; Width; Height )   More

Parameters

Parameter Description Example
PDF The PDF reference returned from DynaPDF.New. $pdf
Width Width in 0.01 millimetres
Height Height in 0.01 millimetres

Result

Returns OK or error.

Description

Sets the default pixels per inch of the y-axis which are used to convert portable WMF files to EMF.
DynaPDF uses a corrected value to get exact proportions. See InsertMetafile() for further information. The value must be in the range 2000 to 3000.
Default value = 2400

See also SetWMFDefExtent function in DynaPDF manual.

See also

This function checks for a license.

Created 18th May 2017, last changed 29th May 2017


DynaPDF.SetViewerPreferences - DynaPDF.SetWMFPixelPerInch