DynaPDF.GetWMFPixelPerInch
--------------------------

Returns 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.GetWMFPixelPerInch"; PDF ) 

**MBS**( **"DynaPDF.GetWMFPixelPerInch";** /\* Returns 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). \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| PDF | The PDF reference returned from [DynaPDF.New](DynaPDFNew.md). | $pdf |

### Result

Returns number or error.

### Description

Returns 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 [DynaPDF.InsertMetafile](DynaPDFInsertMetafile.md) for further information.   
Default value = 2400  
  
See also [GetWMFPixelPerInch](https://www.monkeybreadsoftware.com/DynaPDF-Manual/GetWMFPixelPerInch.shtml) function in DynaPDF manual.

### See also

- [DynaPDF.InsertMetafile](DynaPDFInsertMetafile.md)
- [DynaPDF.New](DynaPDFNew.md)
- [DynaPDF.SetWMFPixelPerInch](DynaPDFSetWMFPixelPerInch.md)

This function checks for a license.

Created 29th May 2017 , last changed 9th November 2021

  
[DynaPDF.GetWMFDefExtent](DynaPDFGetWMFDefExtent.md) - [DynaPDF.GetWordSpacing](DynaPDFGetWordSpacing.md)

[HTML Version](DynaPDFGetWMFPixelPerInch.shtml)