Stream fontStream = typeof(MainPage).GetTypeInfo().Assembly.GetManifestResourceStream("Sample.Assets.Arial.ttf");
pdfGridParagraph3.Style.Font = new PdfTrueTypeFont(fontStream, 14); |
Stream fontStream = typeof(MainActivity).GetTypeInfo().Assembly.GetManifestResourceStream("GettingstartedAndroid.Assets.Arial.ttf");
|
GettingstartedAndroid - Name of the sample
Assets - Folder name
Arial.ttf - Font file name |