DynaPDF.CreateGoToAction
------------------------

Creates a go-to action.

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

MBS( "DynaPDF.CreateGoToAction"; PDF; DestType; DestPage { ; a; b; c; d } ) 

**MBS**( **"DynaPDF.CreateGoToAction";** /\* Creates a go-to action. \*/  
**$PDF**; /\* The PDF reference returned from [DynaPDF.New](DynaPDFNew.md). \*/   
**$DestType**; /\* The type of destination, can be XYZoom, Fit, FitHTop, FitVLeft, FitRect, FitB, FitBHTop or FitBVLeft.e.g. "Fit" \*/   
**$DestPage**; /\* Destination Pagee.g. 5 \*/   
**$a**; /\* Optional; Various, depends on destination type \*/   
**$b**; /\* Optional; Various, depends on destination type \*/   
**$c**; /\* Optional; Various, depends on destination type \*/   
**$d**) /\* Optional; Various, depends on destination type \*/ 

### Parameters

| Parameter | Description | Example | Flags |
|---|---|---|---|
| PDF | The PDF reference returned from [DynaPDF.New](DynaPDFNew.md). | $pdf |  |
| DestType | The type of destination, can be XYZoom, Fit, FitHTop, FitVLeft, FitRect, FitB, FitBHTop or FitBVLeft. | "Fit" |  |
| DestPage | Destination Page | 5 |  |
| a | Various, depends on destination type |  | Optional |
| b | Various, depends on destination type |  | Optional |
| c | Various, depends on destination type |  | Optional |
| d | Various, depends on destination type |  | Optional |

### Result

Returns action number or error.

### Description

Creates a go-to action.  
The go-to action changes the view to a specific destination (page, location, and magnification factor). This action type is useful if a specific destination must be used by several objects such as bookmarks and page links.   
  
See also [CreateGoToAction](https://www.monkeybreadsoftware.com/DynaPDF-Manual/CreateGoToAction.shtml) function in DynaPDF manual.

### See also

- [DynaPDF.AddActionToObj](DynaPDFAddActionToObj.md)
- [DynaPDF.CreateGoToActionEx](DynaPDFCreateGoToActionEx.md)
- [DynaPDF.CreateGoToEAction](DynaPDFCreateGoToEAction.md)
- [DynaPDF.CreateGoToRActionEx](DynaPDFCreateGoToRActionEx.md)
- [DynaPDF.CreateNamedDest](DynaPDFCreateNamedDest.md)
- [DynaPDF.CreateRadioButton](DynaPDFCreateRadioButton.md)
- [DynaPDF.CreateResetAction](DynaPDFCreateResetAction.md)
- [DynaPDF.CreateURIAction](DynaPDFCreateURIAction.md)
- [DynaPDF.New](DynaPDFNew.md)
- [DynaPDF.Table.SetCellAction](DynaPDFTableSetCellAction.md)

### Release notes

- **Version 10.0**
    - Added [DynaPDF.CreateGoToAction](https://www.mbsplugins.eu/DynaPDFCreateGoToAction.shtml), [DynaPDF.CreateGoToActionEx](https://www.mbsplugins.eu/DynaPDFCreateGoToActionEx.shtml), [DynaPDF.CreateGoToRAction](https://www.mbsplugins.eu/DynaPDFCreateGoToRAction.shtml) and [DynaPDF.CreateGoToRActionEx](https://www.mbsplugins.eu/DynaPDFCreateGoToRActionEx.shtml) functions.

### Blog Entries

- [New in the MBS FileMaker Plugin 10.0](https://www.mbsplugins.de/archive/2020-01-23/New_in_the_MBS_FileMaker_Plugi/monkeybreadsoftware_blog_filemaker)
- [Neues MBS FileMaker Plugin 10.0](https://www.mbsplugins.de/archive/2020-01-14/Neues_MBS_FileMaker_Plugin_100/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin 10.0 - More than 6000 Functions In One Plugin](https://www.mbsplugins.de/archive/2020-01-14/MBS_FileMaker_Plugin_100_-_Mor/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 9.6pr2](https://www.mbsplugins.de/archive/2019-12-10/MBS_FileMaker_Plugin_version_9/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 5th December 2019 , last changed 5th December 2019

  
[DynaPDF.CreateGeospatialMeasure](DynaPDFCreateGeospatialMeasure.md) - [DynaPDF.CreateGoToActionEx](DynaPDFCreateGoToActionEx.md)

[HTML Version](DynaPDFCreateGoToAction.shtml)