DinkToPdf icon indicating copy to clipboard operation
DinkToPdf copied to clipboard

Use a custom font family for header

Open ambabaei opened this issue 2 years ago • 0 comments

Hello .

coud you please guid us , how to use a custom font family in the pdf header document . by using the information , we could be able to inject our custom font in to the body of html successfuly , now we need to use the same font in the below code , which is Arial by default

HeaderSettings = { FontName ="IRANSans" , FontSize= 9 , Right= "Test", Line = true }, in the above mentioned code , we need to use the custom IRANSans font .

many thanks ,

ambabaei avatar Aug 03 '21 12:08 ambabaei