DynaPDF.GetResolution
---------------------

Queries the resolution for images.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [DynaPDF](component_DynaPDF.md) | [3.1](newinversion31.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "DynaPDF.GetResolution"; PDF ) 

**MBS**( **"DynaPDF.GetResolution";** /\* Queries the resolution for images. \*/  
**$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 current resolution value.

### Description

Queries the resolution for images.  
The function returns the resolution in DPI (Dots per Inch), in which images are stored by DynaPDF. The value will be ignored if the property SaveNewImageFormat was set to false.  
The default value is 150 (DPI).  
See also [GetResolution](https://www.monkeybreadsoftware.com/DynaPDF-Manual/GetResolution.shtml) function in DynaPDF manual.

### See also

- [DynaPDF.GetAnnotation](DynaPDFGetAnnotation.md)
- [DynaPDF.New](DynaPDFNew.md)
- [DynaPDF.SetResolution](DynaPDFSetResolution.md)

This function checks for a license.

Created 18th August 2014 , last changed 27th May 2017

  
[DynaPDF.GetReplaceICCProfilesCounter](DynaPDFGetReplaceICCProfilesCounter.md) - [DynaPDF.GetSaveNewImageFormat](DynaPDFGetSaveNewImageFormat.md)

[HTML Version](DynaPDFGetResolution.shtml)