DynaPDF.GetWMFDefExtent
-----------------------

Retrieves the default size which is used to convert non-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.GetWMFDefExtent"; PDF ) 

**MBS**( **"DynaPDF.GetWMFDefExtent";** /\* Retrieves the default size which is used to convert non-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 both values as list or an error.

### Description

Retrieves the default size which is used to convert non-portable WMF files to EMF.   
See [DynaPDF.InsertMetafile](DynaPDFInsertMetafile.md) for further information.   
Default value:  
Width = 0  
Height = 0  
See also [GetWMFDefExtent](https://www.monkeybreadsoftware.com/DynaPDF-Manual/GetWMFDefExtent.shtml) function in DynaPDF manual.

### See also

- [DynaPDF.InsertMetafile](DynaPDFInsertMetafile.md)
- [DynaPDF.New](DynaPDFNew.md)
- [DynaPDF.SetWMFDefExtent](DynaPDFSetWMFDefExtent.md)

This function checks for a license.

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

  
[DynaPDF.GetViewerPreferences](DynaPDFGetViewerPreferences.md) - [DynaPDF.GetWMFPixelPerInch](DynaPDFGetWMFPixelPerInch.md)

[HTML Version](DynaPDFGetWMFDefExtent.shtml)