SetPDFA3DefaultAFRelationship
Document properties, Compliance
Description
Sets the default /AFRelationship value applied to embedded file FileSpec dictionaries when the document is saved in PDF/A-3 mode.
This is useful when several embedded files share the same relationship and the caller does not need to set each FileSpec individually.
Syntax
Delphi
Function TPDFlib.SetPDFA3DefaultAFRelationship(Const Relationship: WideString): Integer;
ActiveX
Function PDFlib::SetPDFA3DefaultAFRelationship(Relationship As String) As Long
Available on IPDFlibrary5 from type library version 3.6
DLL
int DLSetPDFA3DefaultAFRelationship(int InstanceID, const wchar_t* Relationship);
int DLSetPDFA3DefaultAFRelationshipA(int InstanceID, const char* Relationship);
Parameters
| Relationship | Common ISO 19005-3 values include Source, Data, Alternative, Supplement, and Unspecified. Pass an empty string to restore Unspecified. |
|---|
Return values
Returns 1 after the default relationship is stored.