DynaPDF.SetWMFPixelPerInch
--------------------------

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](component_DynaPDF.md) | [7.3](newinversion73.md) | ❌ No | ✅ Yes | ❌ No | ✅ Yes, on Windows | ❌ No |

MBS( "DynaPDF.SetWMFPixelPerInch"; PDF; Value ) 

**MBS**( **"DynaPDF.SetWMFPixelPerInch";** /\* Sets the default pixels per inch of the y-axis which are used to convert portable WMF files to EMF. \*/  
**$PDF**; /\* The PDF reference returned from [DynaPDF.New](DynaPDFNew.md). \*/   
**$Value**) /\* Pixels per inch of the y-axis \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| PDF | The PDF reference returned from [DynaPDF.New](DynaPDFNew.md). | $pdf |
| Value | Pixels per inch of the y-axis |  |

### 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 [SetWMFPixelPerInch](https://www.monkeybreadsoftware.com/DynaPDF-Manual/SetWMFPixelPerInch.shtml) function in DynaPDF manual.

### See also

- [DynaPDF.GetWMFPixelPerInch](DynaPDFGetWMFPixelPerInch.md)
- [DynaPDF.New](DynaPDFNew.md)

This function checks for a license.

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

  
[DynaPDF.SetWMFDefExtent](DynaPDFSetWMFDefExtent.md) - [DynaPDF.SetWordSpacing](DynaPDFSetWordSpacing.md)

[HTML Version](DynaPDFSetWMFPixelPerInch.shtml)