Hello Support,
I am generating pdf using PdfFormatProvider. In this i am passing html data which should be converted into pdf. For that I have written below code.
HtmlFormatProvider htmlFormatProvider = new HtmlFormatProvider(); RadFlowDocument htmlDocument = htmlFormatProvider.Import(htmlContentValue); var anotherpara = sectionBody.Blocks.AddParagraph(); editor.MoveToParagraphStart(anotherpara); editor.InsertDocument(htmlDocument, options);
This works fine and also get pdf with expected value. But I would like to set spacing between two lines which I could not set or its not working. For that I have added below code.
I have also attached screenshot for it. like how its showing on pdf
editor.ParagraphFormatting.AutomaticSpacingAfter.LocalValue = false; editor.ParagraphFormatting.AutomaticSpacingBefore.LocalValue = false; editor.ParagraphFormatting.SpacingAfter.LocalValue = 0; editor.ParagraphFormatting.SpacingBefore.LocalValue = 0;
So could you please let me know fix for it.