In Icepdf, how do I display SquareAnnotationComponent at the position shown in the image below?

1
There are 1 best solutions below
Related Questions in SWING
- Issue edit a jtable with a pictures
- How to use Layout to create textfields which dont increase in size?
- How do I print a JTable in the form: Image + header + table in a single page (Java Swing)
- GUI window is not appearing
- Java program images not showing up
- Editing non-String values in JComboBox
- Use the same button in different interfaces (JAVA)
- Java Swing Paint Performance
- Frame showing up super small Java Swing
- Remove JTable cell truncation
- setBorderPainted, how to preserve effect on hover
- Subclassing from BasicButtonUI - text is rendered, but no border nor background
- Java paintComponent not display background image on JFrame
- Attempting to place JDIalog on top of current position of a JFrame
- 2 characters stop when other jump or 2 stop when changing the Direction - JAVA
Related Questions in ICEPDF
- Error display font when a pdf is reading in icepdf
- Error reading font file when using Icepdf
- Icepdf change annotation position?
- Icepdf to view pdf files from an application. After clean and build it does not see imported files
- problem font in ICEpdf viewer when i m transform pdf document in image
- Icepdf should help me to show a pdf in java, but it does not work
- ICEpdf viewer not rendering fonts properly
- JAVA SWING ICEPDF pdf not showing whole content
- Cannot open remote pdf using ICEpdf
- View pdf files in a JavaFX app with ICEpdf?
- Problem with displaying the ICEPDF toolbar
- ICEpdf - MissingResourceException: Can't find bundle for base name org.icepdf.ri.resources.MessageBundle, locale de_DE during application start
- Can't generate PDF with ITEXT in packaged Javafx or jar executable
- JPEGImageDecoder not found when using ICEPDF
- Navigate into PDF document with ICEpdf without a page number
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 # Hahtags
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?
There are a couple of ways to do this. The first way is similar to this example ViewerComponentExample. The idea is you get an instance of the ViewerPropertiesManager and set the desired property. In your case you would set the following property.
Second option is to update the key value of application.toolbar.annotation.rectangle.enabled in the ICEpdfDefaults.properties file and rebuild the viewer jar.
There are newer versions of the library available, I'd recommend giving 7.1.3 a try.