Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.
Wed Jan 28, 2015 1:11 pm
Hi,
I search the way to create a grid on PDF document without border.
Can you help me?
Thanks in advance
Philippe
-
pluka
-
- Posts: 5
- Joined: Wed Jan 28, 2015 1:08 pm
Thu Jan 29, 2015 3:05 am
Hello pluka,
Thanks for your inquiry.
To meet your requirement, please refer to the code below:
- Code: Select all
PdfBorders border = new PdfBorders();
//Set borders color to transparent
border.All = new PdfPen(Color.Transparent);
foreach (PdfGridRow pgr in grid.Rows)
{
foreach (PdfGridCell pgc in pgr.Cells)
{
pgc.Style.Borders = border;
}
}
Best Regards,
Burning
E-iceblue Support Team
-
burning.liu
-
- Posts: 406
- Joined: Mon Aug 04, 2014 6:47 am
Thu Jan 29, 2015 6:45 am
It's working fine.
A great thanks.
Philippe
-
pluka
-
- Posts: 5
- Joined: Wed Jan 28, 2015 1:08 pm
Thu Jan 29, 2015 7:19 am
Hello pluka,
Please feel free to contact us if you have any questions.
Best Regards,
Burning
E-iceblue Support Team
-
burning.liu
-
- Posts: 406
- Joined: Mon Aug 04, 2014 6:47 am