パスワード、セキュリティ、およびメタデータ IronPDFは、PDFのメタデータおよびセキュリティ設定を変更することができます。 セキュリティに関しては、PDFを読み取り専用、印刷不可、パスワード保護、暗号化できる機能が含まれます。 メタデータについては、新しいプロパティを定義し、既存のプロパティを編集する機能が含まれます。 To manage a PDF's metadata in IronPDF for Java, the developer must first retrieve a reference to its MetadataManager. このクラスはPDFのメタコンテンツへの直接アクセスと修正のためのメソッドを提供します。 開発者は、PDFドキュメントに定義された共通のメタプロパティを同名のゲッターとセッターを使用して迅速に読み取りおよび編集できます。 便利なゲッターとセッターを備えたプロパティの完全なリストは以下の通りです: Producer CreationDate Creator Author Keywords Subject Title ModifiedDate The code example uses the setAuthor, setTitle, setKeywords, and setModifiedDate methods to modify the working document's author, title, and keywords. To get and set properties other than the ones previously listed, use the getAnyMetadata and setAnyMetadata methods with the name of the desired property. Likewise, accessing and modifying security settings on a PDF document must be done through a SecurityManager. Call getSecurity on a PdfDocument to retrieve a reference to its SecurityManager and use it to restrict access to the PDF as required for the intended use. Java developers can use a SecurityOptions object for more granular control over PDF security settings. JavaのPDF管理のためのMetadataManager APIを探る 関連ドキュメントリンク GitHubで見る 関連チュートリアル 関連ハウツーガイド クラスドキュメンテーション 言語パックを入手 IronPDF DLLをダウンロード このページの問題を報告する 準備はできましたか? バージョン: 2026.3 リリース 無料トライアル 無料のMavenダウンロード ライセンスを見る まだスクロールしていますか? すぐに証拠が欲しいですか? サンプルを実行するHTML が PDF に変換されるのを確認します。 無料のMavenダウンロード ライセンスを見る