AddRoleMapNS
Tagged PDF, PDF compatibility
Popis
Adds a /RoleMapNS entry that maps a custom structure type to a target type and optional target namespace
Syntaxe
Delphi
Function TPDFlib.AddRoleMapNS(SourceNamespaceID: Integer; Const CustomType, TargetType: WideString; TargetNamespaceID: Integer): Integer;DLL
Function DLAddRoleMapNS(InstanceID, SourceNamespaceID: Integer; CustomType, TargetType: PWideChar; TargetNamespaceID: Integer): Integer; Stdcall;ActiveX
Function PDFlib::AddRoleMapNS(SourceNamespaceID As Long, CustomType As String, TargetType As String, TargetNamespaceID As Long) As LongParametry
| SourceNamespaceID | Identifikátor vrácený funkcí AddStructureNamespace pro namespace, do něhož vlastní typ patří |
|---|---|
| CustomType | Custom structure type name to map |
| TargetType | Destination structure type name |
| TargetNamespaceID | Identifikátor cílového namespace, nebo 0 pro mapování na výchozí standardní namespace |
Návratové hodnoty
| 0 | A namespace identifier or type name is invalid |
|---|---|
| 1 | The mapping was stored |
Poznámky
Nenulový cílový namespace zapíše pole ve formátu PDF 2.0 [/TargetType namespace-ref]; nulový cílový namespace zapíše jmennou formu