Mac OS X
Components Crossplatform Mac & Win Server Client Old Guides Examples
New in version: 7.5 8.0 8.1 8.2 8.3 8.4 8.5 9.0 9.1 9.2 Statistic
The function deletes an embedded file.
|Component||Version||macOS||Windows||Server||FileMaker Cloud||FileMaker iOS SDK|
|The PDF reference returned from DynaPDF.New.|
|Handle||The index number for the embedded file. Range from 0 to DynaPDF.GetEmbeddedFileCount.||0|
Returns OK or error.
DescriptionThe function deletes an embedded file.
The parameter Handle must be a valid embedded file handle. Such a handle is a simple array index. DynaPDF.GetEmbeddedFileCount returns the remaining number of embedded files. If all embedded files should be deleted then delete the files from top to bottom by decrementing the loop variable. This is faster because it is not required to reorganize the array in which the files are stored in this case. All handles above the deleted file index become invalid after the file was deleted.
See also DeleteEmbeddedFile function in DynaPDF manual.
Created 6th February 2015, last changed 6th February 2015
Feedback: Report problem or ask question.
MBS Xojo tutorial videos