LoadOptions.LanguagePreferences

LoadOptions LanguagePreferences property. Gets language preferences that will be used when document is loading.

LoadOptions.LanguagePreferences property

Gets language preferences that will be used when document is loading.

public LanguagePreferences LanguagePreferences { get; }

Examples

Shows how to specify default editing language in load options.

LoadOptions loadOptions = new LoadOptions();
// Selecting the default editing language may affect the document layout during rendering.
// This behavior is similar to how changing the default editing language in Microsoft Word can alter the document layout.
loadOptions.LanguagePreferences.DefaultEditingLanguage = EditingLanguage.ChinesePRC;

Converter.Create()
    .From(MyDir+"Simple.docx", loadOptions)
    .To(ArtifactsDir + "LanguagePreferences.DefaultEditingLanguage.pdf")
    .Execute();

See Also