SetWTPDFMode
Tagged PDF, PDF compatibility
Description
Povolí jednu alebo obe conformance deklarácie WTPDF 1.0 pre vybraný dokument
Syntax
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 LongParameters
| Language | BCP 47 document language; an empty value preserves the current catalog language |
|---|---|
| Conformance | Bit mask where 1 declares accessibility, 2 declares reuse, and 3 declares both |
Return values
| 0 | The conformance value is outside 1 through 3, no document is selected, or the mode could not be enabled |
|---|---|
| 1 | The declarations were written |
Remarks
Metóda zvýši efektívnu verziu PDF na 2.0 a zapíše štandardmi definované PDF Declaration URI v RDF bag, pritom zachová nesúvisiace deklarácie
WTPDF can be combined with SetPDFUA2Mode