DynaPDF.SetMiterLimit
---------------------

Sets the miter limit.

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

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

**MBS**( **"DynaPDF.SetMiterLimit";** /\* Sets the miter limit. \*/  
**$PDF**; /\* The PDF reference returned from [DynaPDF.New](DynaPDFNew.md). \*/   
**$Value**) /\* The new miter limit.e.g. 10.0 \*/ 

### Parameters

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

### Result

Returns OK or error.

### Description

Sets the miter limit.  
When two line segments meet at a sharp angle and mitered joins have been specified as the line join style (see SetLineJoinStyle()), it is possible for the miter to extend far beyond the thickness of the line stroking the path. The miter limit imposes a maximum on the ratio of the miter length to the line width (see Figure below). When the limit is exceeded, the join is converted from a miter to a bevel.  
Default value = 10.0  
See also SetMiterLimit function in dynapdf\_help.pdf.  
See also [SetMiterLimit](https://www.monkeybreadsoftware.com/DynaPDF-Manual/SetMiterLimit.shtml) function in DynaPDF manual.

### See also

- [DynaPDF.New](DynaPDFNew.md)

### Blog Entries

- [MBS Filemaker Plugin, version 4.0pr1](https://www.mbsplugins.de/archive/2014-01-03/MBS_Filemaker_Plugin_version_4/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 18th August 2014 , last changed 18th August 2014

  
[DynaPDF.SetMetadata](DynaPDFSetMetadata.md) - [DynaPDF.SetNeedAppearance](DynaPDFSetNeedAppearance.md)

[HTML Version](DynaPDFSetMiterLimit.shtml)