SaveAllAttachments

Document properties, Extraction

Description

This page describes EnumAttachments in PDF Library for Delphi under the "Document properties, Extraction" topic. API names, parameters, class names, filenames, and literals are kept exactly as they appear in the Delphi library and DLL entry points.

Review the syntax, parameters, and return values before calling the function

Use SaveAllAttachmentsEx when the caller must choose overwrite, skip or rename behaviour or customise each output name

Syntax

Delphi

Function TPDFlib.SaveAllAttachments(Const OutputDir: WideString): Integer;

Parameters

0No document is selected, the directory cannot be created, no attachments exist or no file could be written
> 0Number of attachment files written