Hi Tilal, I was trying to add solid red line in pdf using the below TOCTitle using below line tocPage.Paragraphs.Add( new HtmlFragment(" ")); But the generated PDF contains solid black line.....Can your team test this …...thread regarding the issue status. Moreover, Please check documentation...another option to accomplish the task. You may set color property...