itextsharp - Hide dropdown button -



itextsharp - Hide dropdown button -

i'm creating textfield so:

itextsharp.text.pdf.textfield fieldcombo = new itextsharp.text.pdf.textfield(stamp.writer, realarea, placeholder); fieldcombo.choices = (new string[1] { "" }).concat(attribute.values.select(x => x.value.code)).toarray(); itextsharp.text.font bold = itextsharp.text.fontfactory.getfont(itextsharp.text.fontfactory.helvetica, 9f, itextsharp.text.font.bold); fieldcombo.font = bold.basefont; fieldcombo.fieldname = guid.newguid().tosafestring(); fieldcombo.fontsize = 10f; fieldcombo.textcolor = new itextsharp.text.basecolor(system.drawing.color.fromargb(255, 6, 97, 50)); fieldcombo.options = itextsharp.text.pdf.basefield.edit | itextsharp.text.pdf.basefield.visible_but_does_not_print; stamp.addannotation(fieldcombo.getcombofield(), page + 1);

from first time field focussed, generic grayish downwards arrow appears on document, positioned next value. if field unfocussed, arrow remain visible.

can rid of combo box button when printing document?

itextsharp itext textfield

Comments

Popular posts from this blog

javascript - THREE.js reposition vertices for RingGeometry -

javascript - I need to update the text of a paragraph by inline edit -

assembly - What is the addressing mode for ld, add, and rjmp instructions? -