Aspose.PDFのロケールを設定する方法
Contents
[
Hide
]
Aspose.PDF for Javaライブラリは、特定の言語-国の組み合わせ(例えば「en-KR」)を持つロケールをサポートできません。しかし、Aspose.PDFに古典的なロケールを設定する機能がAPIに存在し、com.aspose.pdf.LocaleOptions.setLocale()メソッドを呼び出すことで利用できます。
以下のコードスニペットは、Aspose.PDF for Javaを使用してロケールを設定する方法を示しています。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// For complete examples and data files, please go to https://github.com/aspose-pdf/Aspose.Pdf-for-Java | |
com.aspose.pdf.LocaleOptions.setLocale(java.util.Locale.FRANCE); |