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

How to get Bitmap annotation after added

More
IP: 192.168.0.70 12 years 2 months ago #4898 by el3ony
Hi

I want to get a bitmap after I added bitmap by using page.AddAnnotBitmap(bmAddnot, true, rect);
Is there a way to archive this or I have to save it manually in sdcard ?

Thanks
More
IP: 192.168.0.70 12 years 2 months ago - 12 years 2 months ago #4900 by radaee
like this:
Code:
Page.AddAnnotBitmap(...); Annotation annot = Page.GetAnnot(Page.GetAnnotCount() - 1);
Last edit: 12 years 2 months ago by .
More
More
IP: 192.168.0.70 12 years 2 months ago #4902 by el3ony
What I want isn't an annotation object I want Bitmap object after I added it. How can I retrieve bitmap from annotation object there is no method to get.
More
IP: 192.168.0.70 12 years 2 months ago #4907 by radaee
plz, wait next version.
new interface:
Annotation.RenderToBmp(Bitmap) will come.
More
IP: 192.168.0.70 12 years 2 months ago - 12 years 2 months ago #4915 by el3ony
Hi

I cannot wait till the next release so I try to develop this on my own first.

I have a question.

I try to save a bitmap manually to sdcard after added to annotation and get a bitmap whenever I want from sdcard.

Problem is my bitmap is not place precise the bitmap annotation when pdf was zoomed.
How can I resize or transform my bitmap like addannotation did ?

You'll see the star is not overlay precisely from this attachment. The big one is bitmap annotation small one is my bitmap and width height of bitmap annotation and my bitmap is equal

Last edit: 12 years 2 months ago by McCloskey.
Time to create page: 0.484 seconds
Powered by Kunena Forum