SetPDFUA2Mode

Tagged PDF, PDF compatibility

Описание

Включает профиль соответствия PDF/UA-2 для выбранного документа

Синтаксис

Delphi

Function TPDFlib.SetPDFUA2Mode(Const Language: WideString): Integer;

DLL

Function DLSetPDFUA2Mode(InstanceID: Integer; Language: PWideChar): Integer; Stdcall;

ActiveX

Function PDFlib::SetPDFUA2Mode(Language As String) As Long

Параметры

LanguageBCP 47 document language such as en-US; an empty value leaves the current catalog language unchanged

Return values

0Документ не выбран либо режим не удалось включить
1The mode was enabled

Примечания

The method raises the effective PDF version to 2.0, writes pdfuaid:part=2 and pdfuaid:rev=2024, enables marked-document metadata, and exposes the document title in viewer preferencesThe established

SetPDFUAMode method continues to select PDF/UA-1

См. также

GetPDFUAMode, SetWTPDFMode, GetPDFUADiagnostics