Hello Suresh,
Did everything existing vanish? In that case, look at the parameters in
PageContentStream so that you use append. Use the 5-parameters constructor.
Are you unsatisfied with the shape? Then create a different shape than a
rectangle and fill that one.
If it still doesn't work, please upload source and result PDFs to a
sharehoster (don't attach files!) and then post the links and describe
that you wanted instead.
Tilman
PS: Next time please subscribe and post to the users list. The dev list
is for the development of the PDFBox code itself. Also use a meaningful
subject.
On 01.02.2024 13:18, suresh sakhavarapu wrote:
Hi Officer,
I am trying to insert a black rectangle box of a certain size into a pdf
document.
It is overriding at the right position, but it also erases the rest of the
content in the page.
Is it possible to override partial content of a page.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]