DynaPDF.GetUseVisibleCoords
---------------------------

Queries whether DynaPDF should consider the crop box to calculate the position of an object.

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

MBS( "DynaPDF.GetUseVisibleCoords"; PDF ) 

**MBS**( **"DynaPDF.GetUseVisibleCoords";** /\* Queries whether DynaPDF should consider the crop box to calculate the position of an object. \*/  
**$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 1, 0 or error.

### Description

Queries whether DynaPDF should consider the crop box to calculate the position of an object.   
The crop box crops a page, but the paper format (media box) is left unchanged. To move the coordinates into the visible area, set the property to true. Coordinates can then be used as if no crop box was defined. The bounding boxes are described in detail at [DynaPDF.SetBBox](DynaPDFSetBBox.md).  
See also [GetUseVisibleCoords](https://www.monkeybreadsoftware.com/DynaPDF-Manual/GetUseVisibleCoords.shtml) function in DynaPDF manual.

### See also

- [DynaPDF.New](DynaPDFNew.md)
- [DynaPDF.SetBBox](DynaPDFSetBBox.md)
- [DynaPDF.SetUseVisibleCoords](DynaPDFSetUseVisibleCoords.md)

This function checks for a license.

Created 6th February 2015 , last changed 9th November 2021

  
[DynaPDF.GetUseTransparency](DynaPDFGetUseTransparency.md) - [DynaPDF.GetUserRights](DynaPDFGetUserRights.md)

[HTML Version](DynaPDFGetUseVisibleCoords.shtml)