We are using a RadFixedDocument and RadFixedDocumentEditor to try to create a sample PDF
I can not find any documentation showing how to actually change the font info. Where are the specifics? Here is the code I have tried.
RadFixedDocument document = new RadFixedDocument();
using (RadFixedDocumentEditor editor = new RadFixedDocumentEditor(document))
{
List list = editor.Lists.AddList(ListTemplateType.BulletDefault);
editor.ParagraphProperties.ListId = list.Id;
editor.ParagraphProperties.ListLevel = 0;
editor.InsertParagraph();
// editor.CharacterFormatting.FontFamily.LocalValue = new FontFamily("Times New Roman");
editor.InsertRun(new FontFamily("Times New Roman"), new FontStyle(3) , new FontWeight(15) , "Blazor Demo:");
editor.ParagraphProperties.ListLevel = 1;
editor.InsertParagraph();
editor.InsertRun("This is a prototype to explore the various Architectual Elements needed for a SPOT rewrite.");
editor.InsertParagraph();
editor.InsertRun("Explore Blazor in regards to moving from a ASP.Net WebForm development team to Blazor MVC structure with.Net Core.");
editor.InsertParagraph();
editor.InsertRun("✓Use of EntityFramework within Blazor /.Net Core.");
editor.InsertParagraph();
editor.InsertRun("✓Basic Search screen with search fields.");
editor.InsertParagraph();
editor.InsertRun("✓Basic Edit screen with field validation both RealTime and on submitting.");
editor.InsertParagraph();
editor.InsertRun("✓Telerik Blazor controls, specially the Grid with Sorting and Paging, Dialogs, Pop_up windows.");
editor.InsertParagraph();
editor.InsertRun("✓BootStrap use with Blazor for page support of any screen resolution(within reason!).");
editor.InsertParagraph();
editor.InsertRun("✓Logging.");
editor.InsertRun("✓Pass Fortify! Test with current SPOT settings.");
editor.InsertParagraph();
editor.InsertRun("✓Custom field validation(SSN / FIN, Phone number).");
editor.InsertParagraph();
editor.InsertRun("✓Creating our own Blazor components for fields like SSN.");
editor.InsertParagraph();
editor.InsertRun("✓Handle error messages from the server.");
editor.InsertParagraph();
editor.InsertRun(" Explore configuration files ");
editor.InsertParagraph();
editor.InsertRun(" Global Exception Handling and Logging ");
editor.InsertParagraph();
editor.InsertRun("✓Validation messages Resource file and i18n ");
editor.InsertParagraph();
editor.InsertRun(" Explore validation messages store in the DB.");
editor.InsertParagraph();
editor.InsertRun(" Authentication ");
editor.InsertParagraph();
editor.InsertRun("✓Session Timeout ");
editor.InsertParagraph();
editor.InsertRun(" Does it work with XUNIT ?");
editor.InsertParagraph();
editor.InsertRun("✓Does it work with Resharper ?");
editor.InsertParagraph();
editor.InsertRun("✓Popup windows and confirmation dialogs.");
editor.InsertParagraph();
editor.InsertRun("✓Calling stored procedures from EF core.");
editor.InsertParagraph();
editor.InsertRun(" SSRS Reporting Viewer and report interfacing."); //Dave talk to Cynthia, Cynthia says talk to Chou, Zhang
editor.InsertParagraph();
editor.InsertRun(" PDF generation "); //Dave do a pdf of this list
editor.InsertParagraph();
editor.InsertRun(" Unhandled Exception Handling(i.g.Reload message)");
}