RadaeePDF.com :: Topic: Free Text annotation stroke colour (1/1)
Welcome, Guest
Username: Password: Remember me

Signin/Signup with:

Here you should submit your bug reports with logcat.

TOPIC: Free Text annotation stroke colour

Free Text annotation stroke colour 3 years 7 months ago #5223

Create a free text annotation (type 3) using AddAnnotEditBox

The colour sets OK but cannot be read back using GetFillColor() which always returns zero. Instead it can be read using using GetStrokeColor().

This seems to be a bug, as the text appears filled, not stroked.

Also, setting the colour of a free text annotation does not seem to work. The first time you try (using SetFillColor or SetStrokColor) nothing happens. The second time you try, the annotation vanishes.
Last Edit: 3 years 7 months ago by soumyaranjan.behera@ggktech.com. Reason: Added detail
The administrator has disabled public write access.

Free Text annotation stroke colour 3 years 7 months ago #5232

  • radaee
  • radaee's Avatar
  • OFFLINE
  • Moderator
  • Posts: 825
  • Thank you received: 10
  • Karma: 43
there no interfaces to set text color, after annotation added.
SetStrokeColor applied to Border of TextBox.
SetFillColor applied to background of TextBox.

about text gone: it fixed, plz wait next version.
The administrator has disabled public write access.

Free Text annotation stroke colour 3 years 7 months ago #5237

  • nermeen
  • nermeen's Avatar
  • OFFLINE
  • Moderator
  • Posts: 683
  • Thank you received: 40
  • Karma: 18
The new version 2.9.8beta2 fixes your issue.
The administrator has disabled public write access.

Free Text annotation stroke colour 3 years 7 months ago #5238

Thank you. I am going to go with deleting and re-creating the annotation to make the re-colouring behaviour work.
The administrator has disabled public write access.
Powered by Kunena Forum