Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
DynaPDF.AddOutputIntent
Represents the destination color space for which a PDF file was created.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
DynaPDF | 4.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "DynaPDF.AddOutputIntent"; PDF; Path ) More
Parameters
Parameter | Description | Example |
---|---|---|
The PDF reference returned from DynaPDF.New. | ||
Path | The native path to the ICC profile. | $path |
Result
Returns handle of the Rendering Intent object or error.
Description
Represents the destination color space for which a PDF file was created.see also DynaPDF.AddOutputIntentEx.
This function requires a native path. Use Path.FileMakerPathToNativePath to convert a FileMaker path to a native path if required. If you like to have the user choose the path, you can use FileDialog functions.
For Server be aware that server has limited permissions and may not be able to access all files on a computer.
See also AddOutputIntent function in DynaPDF manual.
Examples
Adds output intent with ICC Profile file:
Set Variable [ $r ; Value: MBS("DynaPDF.AddOutputIntent"; $pdf; "/System/Library/ColorSync/Profiles/Generic CMYK Profile.icc") ]
See also
- DynaPDF.AddOutputIntentEx
- DynaPDF.CheckConformance
- DynaPDF.CreateExtGState
- DynaPDF.GetOutputIntent
- DynaPDF.New
- Path.FileMakerPathToNativePath
Release notes
- Version 14.5
- Improved DynaPDF.GeneratePreview, DynaPDF.ReadImageResolution, DynaPDF.ReadImageFormat, DynaPDF.InsertImage, DynaPDF.AttachFileContainer, DynaPDF.AddOutputIntentEx, DynaPDF.CreateICCBasedColorSpaceContainer and DynaPDF.OpenPDFFromContainer to return proper error if container is empty.
Blog Entries
This function checks for a license.
Created 3th November 2014, last changed 3th April 2024