The quoted method reference below appears to be in error. The parameter "tsize" states that it should be supplied in DIB coordinates, when it appears that the parameter is used as if it were in PDF coordinates.
public boolean AddAnnotEditbox(float rect,
add an edit-box on page. the edit-box has no border and background. the font of edit box is set by Global.setTextFont in Global.Init(). this can be invoked after ObjsStart or Render or RenderToBmp.
this method valid in premium version.
rect - 4 elements: left, top, right, bottom in PDF coordinate system.
line_clr - color of border line, formated as 0xAARRGGBB.
line_w - width of border line.
fill_clr - color of background, formated as 0xAARRGGBB.
tsize - text size in DIB coordinate system.
text_clr - text color, formated as 0xAARRGGBB.