Quantcast
Channel: ClosedXML - The easy way to OpenXML
Viewing all articles
Browse latest Browse all 1877

Created Unassigned: font for arabic/persian language [9380]

$
0
0
Hi

im trying to set font for Persian language but it seems it dose not work

when i download my excel file , the cell that i set the font is not changed but when i click on it the font name has been changed.

thank you if you help me how can i solve this problem.

here is my code and i also attached the font

Dim doc = New XLWorkbook()
Dim sheet = doc.AddWorksheet("Some Title")
sheet.Cell(1,1).Style.Font.FontName="B Nazanin"

sheet.Rows().AdjustToContents()
sheet.Columns().AdjustToContents()
doc.SaveAs("c:\temp.xlsx")




Viewing all articles
Browse latest Browse all 1877

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>