クラス セキュリティ
情報
Documentize.Security プラグインを表します。
public sealed class Security
継承
継承したメンバー
- object.GetType()、
- object.ToString()、
- object.Equals(object?)、
- object.Equals(object?, object?)、
- object.ReferenceEquals(object?, object?)、
- object.GetHashCode()
例
この例は、PDF ドキュメントを暗号化する方法を示しています。
// Security を作成
var plugin = new Security();
// 指示を設定するために EncryptionOptions オブジェクトを作成
var opt = new EncryptionOptions("123456", "qwerty");
// 入力ファイルパスを追加
opt.AddInput(new FileDataSource(inputPath));
// 出力ファイルパスを設定
opt.AddOutput(new FileDataSource(outputPath));
// 処理を実行
plugin.Process(opt);
この例は、PDF ドキュメントを復号化する方法を示しています。
// Security を作成
var plugin = new Security();
// 指示を設定するために DecryptionOptions オブジェクトを作成
var opt = new DecryptionOptions("123456"));
// 入力ファイルパスを追加
opt.AddInput(new FileDataSource(inputPath));
// 出力ファイルパスを設定
opt.AddOutput(new FileDataSource(outputPath));
// 処理を実行
plugin.Process(opt);
コンストラクター
Security()
public Security()
メソッド
Process(IPluginOptions)
指定されたパラメーターで Documentize.Security 処理を開始します。
public ResultContainer Process(IPluginOptions options)
パラメーター
options
IPluginOptions: Documentize.Security のための指示を含むオプションオブジェクトです。
戻り値
ResultContainer : 操作の結果を含む ResultContainer オブジェクトです。
例外
名前空間: Documentize
アセンブリ: Documentize.dll