Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Questions about Android development and PDF

If change the Global.Int color is not working

More
9 years 7 months ago #10986 by sbettal
If change the Global.ink color ( trying change the ink color dynamically ) causes removing previous annotations added using with same ink.
More
9 years 7 months ago #10987 by support
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.
More
9 years 7 months ago #10989 by sbettal
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.
Time to create page: 0.387 seconds
Powered by Kunena Forum