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
int DLAddRoleMapNS(int InstanceID, int SourceNamespaceID, const wchar_t* CustomType, const wchar_t* TargetType, int TargetNamespaceID);
int DLAddRoleMapNSA(int InstanceID, int SourceNamespaceID, const char* CustomType, const char* TargetType, int TargetNamespaceID);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 structuurtypenaam om te mappen |
| TargetType | Doelstructuurtypenaam |
| TargetNamespaceID | Bestemmingsnaamruimte-identificator, of 0 om te mappen naar de default standaardnaamruimte |
Retourwaarden
| 0 | Een naamruimte-identificator of typenaam is ongeldig |
|---|---|
| 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