Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 9.5   10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2    Statistic    FMM    Blog  

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

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


DynaPDF.SetViewerPreferences - DynaPDF.SetWMFPixelPerInch

Feedback: Report problem or ask question.