Hi I have a FlowDocument in a WPF app.
When printing FlowDocument I need to add some white space at the end of the latest block added (BlockUIContainer)
At the moment I am using this code, but no space has been added and no errors.
Any idea how to do it? Any other better approach?
flowDoc.Blocks.Add(new BlockUIContainer(imgVoucher));
flowDoc.Blocks.Add(cntTxtSection);
flowDoc.Blocks.Add(new BlockUIContainer(imgBarcode));
flowDoc.Blocks.Add(new Paragraph(new LineBreak()));
flowDoc.Blocks.Add(new Paragraph(new LineBreak()));
flowDoc.Blocks.Add(new Paragraph(new LineBreak()));
flowDoc.Blocks.Add(new Paragraph(new LineBreak()));