Specify the Far East and Latin Name of the Font in Text Options of Shape

Possible Usage Scenarios

Sometimes you want to display text in Far‑East language fonts, e.g., Japanese, Chinese, Thai, etc. Aspose.Cells for Python via .NET provides the TextOptions.far_east_name property, which can be used to specify the font name for Far‑East languages. In addition, you can also specify the Latin font name using the TextOptions.latin_name property.

Specify the Far East and Latin Name of the Font in Text Options of Shape

The following sample code creates a text box and adds some Japanese text inside it. It then specifies the Latin and Far‑East font names of the text and saves the workbook as the output Excel file. The screenshot below shows the Latin and Far‑East font names of the resulting text box in Microsoft Excel.

todo:image_alt_text

Sample Code