Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

transparent page have black lines #692

Open
Suddenly-TurnRound opened this issue Apr 7, 2024 · 0 comments
Open

transparent page have black lines #692

Suddenly-TurnRound opened this issue Apr 7, 2024 · 0 comments

Comments

@Suddenly-TurnRound
Copy link

I changed the background color of the report page to transparent and added white background with borderless text on the page. After exporting to PDF, black lines appear in the PDF file. What should I do

FastReport.OpenSource.Export.PdfSimple, .NET

code:
List list = new List();
report.Prepare();
using (MemoryStream reportImageStream = new MemoryStream())
{
using PDFSimpleExport pdf = new PDFSimpleExport();
pdf.PageRange = FastReport.PageRange.All;
report.Export(pdf, reportImageStream);
list.Add(Convert.ToBase64String(reportImageStream.ToArray()));
}
return list;

文件.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant