I am able to add a layer(optional content group) to a pdf using LayerUtility class in pdfbox library. But, I am not able to find any way to add annotations to an existing layer. I tried to convert the PDOptionalContentGroup to PDPage by first converting PDOptionalContentGroup to COSDictionary and then creating the PDPage from the COSDictionary. Then making the changes in the PDPage.But this creates an invalid PDPage. So, how do I add markups or annotation to an existing layer in pdf?
How to add an annotations and markups to an existing layer(optional content group) in a pdf?
251 Views Asked by V K At
0
There are 0 best solutions below
Related Questions in PDF
- Itext get special letters from pdf
- Carrierwave file upload with different file types
- Get text from a section of a pdf page with IcePdf
- itext pdf to image convert
- PDF to Text extractor in nodejs without OS dependencies
- PDF to ByteArray Conversion
- Opening PDF file in SWT Browser - XulRunner default viewer
- Generate TCPDF output to a shared drive folder
- Combine base and ggplot graphics in R figure window in different pages
- Updating a PDF Barcode Field in iOS and Android Device
- Prevent PDFsharp from saving an image file?
- Adding attachment links between lines in itext for pdf
- Crop Pdf from each edge using itextshap
- How to create a PDF with iText+XMLWorker from servlet using custom font?
- how to create a pdf editor for grails
Related Questions in PDFBOX
- PdfBox issue while changing page
- PDFBox: extracting images from pdf to inputstream
- Loading a document with PDF box 2.0 causing torubles
- PDFbox not extracting regions on android
- PDF to Image using PDFBox 1.8.9 text overlapped
- PDFBox create oversized pages
- How to generate Dyanamic no of pages using PDFBOX
- PDFBox - Single drawString method call to generate both normal and bold font
- Setting multi-line text to form fields in PDFBox
- How to solve "No glyph for U+000A in font Helvetica-Bold" in pdfbox (android port)
- Extracting images from pdf using java
- Replacing images with same resource in PDFBox
- How to distinguish between two encrypted / secured PDF files
- What is the equivalent of PDFTextStripper in pdfbox snapshot 2.0
- How to prevent PDFBox application menu (on OS X)
Related Questions in OCG
- iText 7 - Merge PDF layers (OCG) with the base PDF
- Remove OCG layers from PDF with Python
- PDFRender render not visible Optional Content Group
- Remove or hide PDF layer using ABCPdf?
- how to make pdf layers(optional content group) in tree structure
- How to find the OC COSName in a PDPage belong to which Optional Content Group?
- How to delete an optional content group alongwith its content from pdf using pdfbox?
- How are layers stored in PDF
- Extract Geometry Elements from PDF by OCG (by Layer)
- How to programmatically remove PDF layers?
- Using PDFBox to remove Optional Content Groups that are not enabled
- itext7 - How to copy page as form XObject while keeping hidden OCGs hidden
- IText edit or remove the layer on PDF
- How to hide layers when merging multiple pdf documents
- after merge PDFs lose layer settings
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?