DynaPDF.ChangeNamedDest
-----------------------

Changes the name of a named destination.

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

MBS( "DynaPDF.ChangeNamedDest"; PDF; ObjType; Handle; Name ) 

**MBS**( **"DynaPDF.ChangeNamedDest";** /\* Changes the name of a named destination. \*/  
**$PDF**; /\* The PDF reference returned from [DynaPDF.New](DynaPDFNew.md). \*/   
**$ObjType**; /\* Object type to which the handle belongs like Action, Annotation, Bookmark or PageLink.e.g. "PageLink" \*/   
**$Handle**; /\* Object handlee.g. $index \*/   
**$Name**) /\* New destination name.e.g. "Test" \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| PDF | The PDF reference returned from [DynaPDF.New](DynaPDFNew.md). | $pdf |
| ObjType | Object type to which the handle belongs like Action, Annotation, Bookmark or PageLink. | "PageLink" |
| Handle | Object handle | $index |
| Name | New destination name. | "Test" |

### Result

Returns OK or error.

### Description

Changes the name of a named destination.   
Named destinations can be accessed by link annotations, bookmarks, and actions. For link annotations the object type PageLink or Annotation can be used.  
  
If the function succeeds the return value is OK.  
See also [ChangeNamedDest](https://www.monkeybreadsoftware.com/DynaPDF-Manual/ChangeNamedDest.shtml) function in DynaPDF manual.

### See also

- [DynaPDF.CreateNamedDest](DynaPDFCreateNamedDest.md)
- [DynaPDF.DeleteNamedDest](DynaPDFDeleteNamedDest.md)
- [DynaPDF.New](DynaPDFNew.md)

### Release notes

- **Version 13.1**
    - Added [DynaPDF.ChangeNamedDest](https://www.mbsplugins.eu/DynaPDFChangeNamedDest.shtml) function.

### Blog Entries

- [New in MBS FileMaker Plugin 13.1](https://www.mbsplugins.de/archive/2023-03-15/New_in_MBS_FileMaker_Plugin_13/monkeybreadsoftware_blog_filemaker)
- [Neues MBS Plugin 13.1 für Claris FileMaker](https://www.mbsplugins.de/archive/2023-03-07/Neues_MBS_Plugin_131_für_Clar/monkeybreadsoftware_blog_filemaker)
- [MBS Plugin 13.1 for Claris FileMaker](https://www.mbsplugins.de/archive/2023-03-07/MBS_Plugin_131_for_Claris_File/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 13.1pr1](https://www.mbsplugins.de/archive/2023-02-01/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 25th January 2023 , last changed 25th January 2023

  
[DynaPDF.ChangeLinkAnnot](DynaPDFChangeLinkAnnot.md) - [DynaPDF.ChangeOCGName](DynaPDFChangeOCGName.md)

[HTML Version](DynaPDFChangeNamedDest.shtml)