Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
DynaPDF.SetReplaceICCProfileData
Sets the replace ICC profile data.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
DynaPDF | 7.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "DynaPDF.SetReplaceICCProfileData"; PDF; ICCProfileType; ProfileData ) More
Parameters
Parameter | Description | Example |
---|---|---|
The PDF reference returned from DynaPDF.New. | ||
ICCProfileType | The profile type. Can be Gray, RGB, CMYK or Lab. | "Gray" |
ProfileData | The container value with the profile data. | MyTable::RGBProfile |
Result
Returns OK or error.
Description
Sets the replace ICC profile data.The plugin manages a list of replacement profiles which the DynaPDF library can query with the OnReplaceICCProfile callback. Needed for DynaPDF.CheckConformance.
This function fills the list, so the plugin can return the right profile for the right type when needed.
See also SetReplaceICCProfileData function in DynaPDF manual.
Examples
Set replacements for missing ICC profiles:
Set Variable [ $r ; Value: MBS("DynaPDF.SetReplaceICCProfileData"; $pdf; "rgb"; Create Text::RGB ICC Profile) ]
Set Variable [ $r ; Value: MBS("DynaPDF.SetReplaceICCProfile"; $pdf; "gray"; Create Text::Gray ICC Profile) ]
Set Variable [ $r ; Value: MBS("DynaPDF.SetReplaceICCProfileData"; $pdf; "cmyk"; Create Text::CMYK ICC Profile) ]
See also
- DynaPDF.CheckConformance
- DynaPDF.GetReplaceICCProfile
- DynaPDF.GetReplaceICCProfileData
- DynaPDF.GetReplaceICCProfilesCounter
- DynaPDF.New
- DynaPDF.SetReplaceICCProfile
Release notes
- Version 10.5
- Fixed memory leak in DynaPDF.SetReplaceICCProfileData function.
- Version 7.5
Example Databases
- DynaPDF/Convert to PDFA
- DynaPDF/Create Text as PDFA
- DynaPDF/ZUGFeRD/ZUGFeRD Invoice
- DynaPDF/ZUGFeRD 2.0/Factur-X Invoice
- DynaPDF/ZUGFeRD 2.0/ZUGFeRD 2.0 Invoice
- DynaPDF/ZUGFeRD
Blog Entries
- MBS FileMaker Plugin, version 10.5pr7
- FileMaker with ZUGFeRD 2.0 and Factur-X
- MBS FileMaker Plugin, version 7.5pr1
This function checks for a license.
Created 30th September 2017, last changed 30th September 2017