DynaPDF.GetOutputIntent
-----------------------

Returns an output intent as well as the properties of it.

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

MBS( "DynaPDF.GetOutputIntent"; PDF; Index; Selector { ; FileName } ) 

**MBS**( **"DynaPDF.GetOutputIntent"** /\* Returns an output intent as well as the properties of it. \*/  
**$PDF**; /\* The PDF reference returned from [DynaPDF.New](DynaPDFNew.md). \*/   
**$Index**; /\* The index of the output indent. From 0 to DynaPDF.GetOutputIndentCount-1. e.g. 0 \*/   
**$Selector**; /\* The value to query. Possible values: Buffer, BufSize, Info, NumComponents, OutputCondition, OutputConditionID or RegistryName. e.g. "Info" \*/   
**$FileName**) /\* Optional; Optional for the buffer option to get the ICC profile, this parameter provides the file name to include in container. e.g. "profile.icc" \*/ 

### Parameters

| Parameter | Description | Example | Flags |
|---|---|---|---|
| PDF | The PDF reference returned from [DynaPDF.New](DynaPDFNew.md). | $pdf |  |
| Index | The index of the output indent. From 0 to DynaPDF.GetOutputIndentCount-1. | 0 |  |
| Selector | The value to query. Possible values: Buffer, BufSize, Info, NumComponents, OutputCondition, OutputConditionID or RegistryName. | "Info" |  |
| FileName | Optional for the buffer option to get the ICC profile, this parameter provides the file name to include in container. | "profile.icc" | Optional |

### Result

Returns value or error.

### Description

Returns an output intent as well as the properties of it.   
An output intent is an ICC profile that describes the characteristics of the output device. The profile is mostly embedded but certain standards like PDF/X 4p, for example, allow also the usage of non-embedded profiles.   
  
The parameter Index is the array index of the output intent. To determine the number of available intents call [DynaPDF.GetOutputIntentCount](DynaPDFGetOutputIntentCount.md).  
See also [GetOutputIntent](https://www.monkeybreadsoftware.com/DynaPDF-Manual/GetOutputIntent.shtml) function in DynaPDF manual.

### See also

- [DynaPDF.AddOutputIntent](DynaPDFAddOutputIntent.md)
- [DynaPDF.AddOutputIntentEx](DynaPDFAddOutputIntentEx.md)
- [DynaPDF.DeleteOutputIntent](DynaPDFDeleteOutputIntent.md)
- [DynaPDF.GetOutputIntentCount](DynaPDFGetOutputIntentCount.md)
- [DynaPDF.New](DynaPDFNew.md)

### Blog Entries

- [MBS FileMaker Plugin, version 5.2pr9](https://www.mbsplugins.de/archive/2015-08-01/MBS_FileMaker_Plugin_version_5/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 28th July 2015 , last changed 9th November 2021

  
[DynaPDF.GetOrientation](DynaPDFGetOrientation.md) - [DynaPDF.GetOutputIntentCount](DynaPDFGetOutputIntentCount.md)

[HTML Version](DynaPDFGetOutputIntent.shtml)