Error in documentation? - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
13 Jul 2017
Microsoft has ended support for Windows Phone 8.1
Read More...
Here you should submit your bug reports with logcat.
  • Page:
  • 1

TOPIC: Error in documentation?

Error in documentation? 3 years 10 months ago #6517

  • sparklellama
  • sparklellama's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 34
  • Thank you received: 0
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.

Please Log in or Create an account to join the conversation.

Error in documentation? 3 years 10 months ago #6523

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 830
  • Karma: 43
  • Thank you received: 10
yes, you are right, we shall fix it.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum