SetPDFA3DefaultAFRelationshipA

文档属性、合规性

描述

末尾的 A 表示 ANSI(char)DLL 入口点;ActiveX/COM 接口仅公开 Unicode 形式,其行为与 SetPDFA3DefaultAFRelationship 相同,字符串参数使用当前 SetAnsiMode 代码页解释

设置在 PDF/A-3 模式下保存文档时应用于嵌入文件 FileSpec 字典的默认 /AFRelationship 值

当多个嵌入文件共享相同关系且调用方无需单独设置每个 FileSpec 时,这很有用

语法

Delphi

Function DLSetPDFA3DefaultAFRelationshipA(InstanceID: Integer; Relationship: PAnsiChar): Integer;

DLL

int DLSetPDFA3DefaultAFRelationshipA(int InstanceID, const char * Relationship);

参数

Relationship常见 ISO 19005-3 值包括 Source、Data、Alternative、Supplement 和 Unspecified,传递空字符串可恢复 Unspecified

返回值

存储默认关系后返回 1

另请参阅

SetPDFAMode, EmbedFile