AddStructureNamespace

PDF con tag, compatibilità PDF

Descrizione

Registra l'URI di uno spazio dei nomi della struttura e ne restituisce l'identificatore locale al documento

Sintassi

Delphi

Function TPDFlib.AddStructureNamespace(Const NamespaceURI: WideString): Integer;

DLL

int DLAddStructureNamespace(int InstanceID, const wchar_t* NamespaceURI);
int DLAddStructureNamespaceA(int InstanceID, const char* NamespaceURI);

ActiveX

Function PDFlib::AddStructureNamespace(NamespaceURI As String) As Long

Parametri

NamespaceURIURI univoco dello spazio dei nomi memorizzato nel dizionario PDF 2.0 /Namespace

Valori restituiti

0Nessun documento selezionato oppure l'URI è vuoto
Valore positivoIdentificatore dello spazio dei nomi con base 1; registrare di nuovo lo stesso URI restituisce quello esistente

Note

Il metodo aumenta la versione PDF a 2.0 e scrive gli spazi dei nomi registrati in StructTreeRoot/Namespaces al salvataggio dell'albero

Vedere anche

SetDefaultStructureNamespace, AddRoleMapNS, GetStructureNamespaceURI