diff --git a/dotnet/src/dotnetcore/GxPdfReportsCS/PDFReportItext8.cs b/dotnet/src/dotnetcore/GxPdfReportsCS/PDFReportItext8.cs index 2f9d64bea..16bc9d5b8 100644 --- a/dotnet/src/dotnetcore/GxPdfReportsCS/PDFReportItext8.cs +++ b/dotnet/src/dotnetcore/GxPdfReportsCS/PDFReportItext8.cs @@ -815,7 +815,7 @@ public override void GxDrawText(String sTxt, int left, int top, int right, int b //Iterate over the elements (a.k.a the parsed HTML string) and handle each case accordingly IList elements = HtmlConverter.ConvertToElements(sTxt, converterProperties); foreach (IElement element in elements) - ProcessHTMLElement(htmlRectangle, yPosition, (IBlockElement)element, fontProvider); + ProcessHTMLElement(htmlRectangle, yPosition, (IBlockElement)element); } catch (Exception ex1) { @@ -957,14 +957,14 @@ public override void GxDrawText(String sTxt, int left, int top, int right, int b } } - private void ProcessHTMLElement(Rectangle htmlRectangle, YPosition currentYPosition, IBlockElement blockElement, FontProvider fontProvider) + private void ProcessHTMLElement(Rectangle htmlRectangle, YPosition currentYPosition, IBlockElement blockElement) { Div div = blockElement as Div; if (div != null) { // Iterate through the children of the Div and process each child element recursively foreach (IElement child in div.GetChildren()) if (child is IBlockElement) - ProcessHTMLElement(htmlRectangle, currentYPosition, (IBlockElement)child, fontProvider); + ProcessHTMLElement(htmlRectangle, currentYPosition, (IBlockElement)child); }