How could we draw two horizontal lines of width 3cm with a text in between using pdfsharp.I know how to print a string and it's working well.
I need to print date in between two horizontal lines .Could someone help me please. This is my code to print date
graph.DrawString(date1, font, XBrushes.Black, new XRect(6.259843 * 72, 0.905512 * 72,
pdfPage.Width.Point, pdfPage.Height.Point), XStringFormats.TopLeft);