Heading 2,AnnexTitle font style issue

Hello,
Can you please suggest that how can change font name in annex heading style in ‘Arial’ font.
.

As I am using below code to create annex heading title.

tableBuilder.ParagraphFormat.StyleIdentifier = StyleIdentifier.Heading2;
tableBuilder.Font.Name = "Arial";
tableBuilder.Writeln("test dev");

@RiteshK10 Your code is correct and the font of the inserted text should be Arial in the output document. But if you need to change font of the style in the document, you can use code like the following:

Document doc = new Document();
DocumentBuilder builder = new DocumentBuilder(doc);

doc.Styles[StyleIdentifier.Heading2].Font.Name = "Arial";

builder.ParagraphFormat.StyleIdentifier = StyleIdentifier.Heading2;
builder.Writeln("test dev");

doc.Save(@"C:\Temp\out.docx");