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.

Sun May 22, 2022 1:04 pm

Hi,
Is there anyway to copy PDFGrid content to another new grid and keep all styles and cell configurations applied to the original grid ?

I tried addRange and addAll methods but neither copied all cells characteristics.

mgalal123
 
Posts: 29
Joined: Thu Apr 21, 2022 12:48 pm

Mon May 23, 2022 10:41 am

Hi,

Thank you for your inquiry.
Our Spire.PDF doesn't provide the addRange and addAll methods. What you did is to get the Pdf table and the cell plain text, right? Sorry to tell it is not supported to get the cell style of PdfTable and apply it on new grid. If we have any plan to achieve it in the future, I will let you know.

Sincerely,
Kylie
E-iceblue support team
User avatar

kylie.tian
 
Posts: 412
Joined: Mon Mar 07, 2022 2:30 am

Mon May 23, 2022 11:35 am

Thanks a lot for your reply.

mgalal123
 
Posts: 29
Joined: Thu Apr 21, 2022 12:48 pm

Return to Spire.PDF