If change the Global.Int color is not working - 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...
Questions about Android development and PDF
  • Page:
  • 1

TOPIC: If change the Global.Int color is not working

If change the Global.Int color is not working 2 years 3 months ago #10986

  • sbettal
  • sbettal's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 20
  • Thank you received: 0
If change the Global.ink color ( trying change the ink color dynamically ) causes removing previous annotations added using with same ink.
The topic has been locked.

If change the Global.Int color is not working 2 years 3 months ago #10987

  • support
  • support's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 571
  • Karma: 6
  • Thank you received: 46
you should save actual annotation before changing new drawing parameters.

May you put your code snippet, please?

Note: what's the platform you are working on?

Please, submit posts in the proper forum area.
The topic has been locked.

If change the Global.Int color is not working 2 years 3 months ago #10989

  • sbettal
  • sbettal's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 20
  • Thank you received: 0
My platform is : Android

Here is the code am using to change the color of the ink.

Global.inkColor = color;
if(m_ink != null)
{
m_status = STA_INK;
if(m_status == STA_INK) {
m_ink = new Ink(Global.inkWidth);
}
}

Here i thought to change the color parameter of the ink object, but color change is not worked. so I re instantiate the ink object.
The topic has been locked.
  • Page:
  • 1
Powered by Kunena Forum