1 | initial version |
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).