SetWTPDFMode

Tagged PDF, PDF compatibility

Descrição

Ativa uma ou ambas as declarações de conformidade WTPDF 1.0 para o documento selecionado

Sintaxe

Delphi

Function TPDFlib.SetWTPDFMode(Const Language: WideString; Conformance: Integer): Integer;

DLL

Function DLSetWTPDFMode(InstanceID: Integer; Language: PWideChar; Conformance: Integer): Integer; Stdcall;

ActiveX

Function PDFlib::SetWTPDFMode(Language As String, Conformance As Long) As Long

Parâmetros

LanguageBCP 47 document language; an empty value preserves the current catalog language
ConformanceBit mask where 1 declares accessibility, 2 declares reuse, and 3 declares both

Return values

0The conformance value is outside 1 through 3, no document is selected, or the mode could not be enabled
1The declarations were written

Remarks

O método eleva a versão efetiva do PDF para 2.0 e grava URIs de PDF Declaration definidos por padrões em um RDF bag preservando declarações não relacionadas WTPDF pode ser combinado com

SetPDFUA2Mode

Veja também

GetWTPDFMode, SetPDFUA2Mode