List of usage examples for com.lowagie.text.pdf RadioCheckField TYPE_CROSS
int TYPE_CROSS
To view the source code for com.lowagie.text.pdf RadioCheckField TYPE_CROSS.
Click Source Link
From source file:com.geek.tutorial.itext.acroform.RadioCheckBoxForm.java
License:Open Source License
private static void addCheckbox(PdfWriter writer, Rectangle rect, String name) throws IOException, DocumentException { RadioCheckField check = new RadioCheckField(writer, rect, name, "On"); check.setCheckType(RadioCheckField.TYPE_CROSS); check.setBorderColor(Color.BLACK); writer.addAnnotation(check.getCheckField()); }