In EvoPDF, you can specify the language of a document using the "CultureInfo" property.
Here is an example code:
EvoPdf.Document document = new EvoPdf.Document("http://www.example.com");
document.CultureInfo = new System.Globalization.CultureInfo("en-US"); // set the language to English (United States)
document.ConvertToPDF();
In this code, we are creating a new document and setting the "CultureInfo" property to specify the language of the document. Then, we call the "ConvertToPDF" method to convert the document to a PDF file.
You can replace "en-US" with the language code for your desired language (e.g. "fr-FR" for French).
Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss
Asked: 2022-04-22 11:00:00 +0000
Seen: 17 times
Last updated: Oct 16 '21
How can I convert a Document in Python?
What is the method for creating a subcollection in Firebase Firestore?
What is the method of using relative position in CSS?
How to search for data in a subcollection of Firestore using a field from the main document?
What is the method to obtain the ids of documents in a list using Flutter Firestore?
What is the method to immediately modify the title of a React page upon loading?
What types of document IDs are available for the documents in the DocuSign API?