RadaeePDF.com :: Topic: Error in documentation? (1/1)
Welcome, Guest
Username: Password: Remember me

Signin/Signup with:

Here you should submit your bug reports with logcat.

TOPIC: Error in documentation?

Error in documentation? 3 years 1 month ago #6517

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,
int line_clr,
float line_w,
int fill_clr,
float tsize,
int text_clr)
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.
Parameters:
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.
The administrator has disabled public write access.

Error in documentation? 3 years 1 month ago #6523

  • radaee
  • radaee's Avatar
  • OFFLINE
  • Moderator
  • Posts: 825
  • Thank you received: 10
  • Karma: 43
yes, you are right, we shall fix it.
The administrator has disabled public write access.
Powered by Kunena Forum