Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
DynaPDF.FindEmbeddedFile
Searches for the embedded file Name and returns the handle of it when it can be found.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
DynaPDF | 6.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "DynaPDF.FindEmbeddedFile"; PDF; Name ) More
Parameters
Parameter | Description | Example |
---|---|---|
The PDF reference returned from DynaPDF.New. | ||
Name | The name of the embedded file. | $name |
Result
Returns number or error.
Description
Searches for the embedded file Name and returns the handle of it when it can be found.The file can then be extracted with DynaPDF.GetEmbeddedFile.
If the function succeeds the return value is an embedded file handle, a value greater or equal zero. If the file cannot be found the return value is -1.
See also FindEmbeddedFile function in DynaPDF manual.
See also
This function checks for a license.
Created 1st June 2016, last changed 17th July 2022