SetEmbeddedFileStrProperty
Propriétés du document
Description
Définit une propriété du fichier incorporé indiqué
Syntaxe
Delphi
Function TPDFlib.SetEmbeddedFileStrProperty(Index, Tag: Integer; NewValue: WideString): Integer;
ActiveX
Function PDFlib::SetEmbeddedFileStrProperty(Index As Long, Tag As Long, NewValue As String) As Long
DLL
int DLSetEmbeddedFileStrProperty(int InstanceID, int Index, int Tag, const wchar_t* NewValue);
int DLSetEmbeddedFileStrPropertyA(int InstanceID, int Index, int Tag, const char* NewValue);
Paramètres
| Index | Index du fichier incorporé. Doit être compris entre 1 et la valeur renvoyée par EmbeddedFileCount |
|---|---|
| Tag | 1 = Nom de fichier 2 = Type MIME 3 = Date de création 4 = Date de modification 5 = Titre 7 = Description |
| NewValue | Nouvelle valeur de la propriété indiquée |
Valeurs de retour
Renvoie 1 si la propriété a été définie. Renvoie 0 si Index ne désigne pas un fichier incorporé ou si Tag n’est pas un identifiant de propriété valide.