Horodatage de classe
Information
Représente le plugin Documentize.Timestamp.
public class Timestamp
Héritage
Membres hérités
- object.GetType(),
- object.MemberwiseClone(),
- object.ToString(),
- object.Equals(object?),
- object.Equals(object?, object?),
- object.ReferenceEquals(object?, object?),
- object.GetHashCode()
Exemples
L’exemple démontre comment ajouter un horodatage au document.
// créer un horodatage
var plugin = new Timestamp();
// créer un objet AddTimestampOptions pour définir les instructions
var opt = new AddTimestampOptions("path_to_pfx", "password_for_pfx", "timestamp_server_url");
// ajouter le chemin du fichier d'entrée
opt.AddInput(new FileDataSource("path_to_pdf"));
// définir le chemin du fichier de sortie
opt.AddOutput(new FileDataSource("path_to_result_pdf"));
// effectuer le processus
plugin.Process(opt);
Constructeurs
Timestamp()
public Timestamp()
Méthodes
Process(AddTimestampOptions)
Démarre le traitement de Documentize.Timestamp avec les paramètres spécifiés.
public ResultContainer Process(AddTimestampOptions options)
Paramètres
options
AddTimestampOptions : Un objet d’options contenant des instructions pour Documentize.AddTimestampOptions.
Renvoie
ResultContainer : Un objet ResultContainer contenant le résultat de l’opération.
Namespace: Documentize Assembly: Documentize.dll