List of usage examples for com.lowagie.text.pdf PdfAnnotation setFlags
public void setFlags(int flags)
From source file:org.eclipse.birt.report.engine.emitter.pdf.PDFPage.java
License:Open Source License
protected void showHelpText(float x, float y, float width, float height, String helpText) { Rectangle rectangle = new Rectangle(x, y, x + width, y + height); PdfAnnotation annotation = PdfAnnotation.createSquareCircle(writer, rectangle, helpText, true); PdfBorderDictionary borderStyle = new PdfBorderDictionary(0, PdfBorderDictionary.STYLE_SOLID, null); annotation.setBorderStyle(borderStyle); annotation.setFlags(288); writer.addAnnotation(annotation);//from www .jav a 2 s .com }