AddRoleMapNS
Getagde PDF, PDF-compatibiliteit
Beschrijving
Voegt een /RoleMapNS-entry toe die een custom structuurtype aan een doeltype en een optionele doelnamespace toewijst
Syntaxis
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 LongParameters
| SourceNamespaceID | Identificator geretourneerd door AddStructureNamespace voor de naamruimte die het custom type bezit |
|---|---|
| CustomType | Custom structure type name to map |
| TargetType | Destination structure type name |
| TargetNamespaceID | Bestemmingsnaamruimte-identificator, of 0 om te mappen naar de default standaardnaamruimte |
Retourwaarden
| 0 | A namespace identifier or type name is invalid |
|---|---|
| 1 | De mapping is opgeslagen |
Opmerkingen
Een doelnaamruimte ongelijk aan nul schrijft de PDF 2.0-arrayvorm [/TargetType namespace-ref]; een doelnaamruimte van nul schrijft de naamvorm