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

change the color and size of pencil input

More
10 years 8 months ago #10068 by ankur123987
Hi Radaeepdf team,

I am using pencil input the default color of ink is light grey i want to change the color of ink and size . Currently i am using Global.inkColor and Global.inkWidth variables for update the color and size ...

But this variable does not reflect the value at same time while using the ink at pdf if i choose again color then only it reflect previous value . i hope my question is clear

please reply me how can i change the color and size of ink with same time while using ink
thanks
More
10 years 8 months ago #10075 by radaee
the color and width is keeped in Ink class as protected member.
when u are in ink status, all values are keeped by Ink object.
when u added ink annotation to the page, .u can get Annotation object and invoke Annotation.SetStrokeColor() and Annotation.SetStrokeWidth().
More
10 years 8 months ago #10086 by ankur123987
thanks for your reply but i am getting following error Cannot make a static reference to the non-static method SetStrokeColor(int) from the type Page.Annotation do you have any source code or demo for implementation of it? it would be great help for me thanks
More
10 years 7 months ago #10094 by ankur123987
please provide the solution of this issue ASAP . please help
More
10 years 7 months ago #10116 by radaee
this need u have source codes for PDFLayoutView.java (u can download java codes after paid professional or premium license).
and create a new Ink object copy coordinates and some attribute from old one.
and then invalidate the view.
More
10 years 7 months ago #10155 by ankur123987
do you mean PDFLAyoutVert.java. i could not find the PDFLayoutView class in premium version but this file is located in demo version . is it different from demo version file?. i checked all wrap version but unable to find please help
Time to create page: 0.417 seconds
Powered by Kunena Forum