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

Add table or add text into existing pdf #39

Open
ericxin1982 opened this issue Jul 27, 2022 · 2 comments
Open

Add table or add text into existing pdf #39

ericxin1982 opened this issue Jul 27, 2022 · 2 comments
Labels
question Further information is requested

Comments

@ericxin1982
Copy link

hi,

I am wondering how to add text or table into existing pdf, not write txt or table into new pdf.

Thanks
Eric Xin

@PrzemyslawKlys
Copy link
Member

Unfortunately I don't know. But you should start like that ... and then go thru $PDF variable

Import-Module .\PSWritePDF.psd1 -Force

$FilePath = "$PSSCriptRoot\Example12.ReadingTable.pdf"
$PDF = Get-PDF -FilePath $FilePath
$PDF
Close-PDF -Document $PDF

I tried finding some c# docs around itext 7 how to find an existing table - and failed. Maybe you will have more luck.

@PrzemyslawKlys PrzemyslawKlys added the question Further information is requested label Jul 27, 2022
@ericxin1982
Copy link
Author

@PrzemyslawKlys

Sorry, I meant add text into an existing pdf, not must have especially a table object.

Thanks
Eric Xin

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

No branches or pull requests

2 participants