- Posts: 16
- Thank you received: 0
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
IP: 192.168.0.70
12 years 2 months ago #4898
by el3ony
How to get Bitmap annotation after added was created 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
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
IP: 192.168.0.70
12 years 2 months ago - 12 years 2 months ago #4900
by radaee
Replied by radaee on topic How to get Bitmap annotation after added
like this:
Code:
Page.AddAnnotBitmap(...);
Annotation annot = Page.GetAnnot(Page.GetAnnotCount() - 1);
Last edit: 12 years 2 months ago by .
IP: 192.168.0.158
12 years 2 months ago #4901
by nermeen
Replied by nermeen on topic How to get Bitmap annotation after added
IP: 192.168.0.70
12 years 2 months ago #4902
by el3ony
Replied by el3ony on topic How to get Bitmap annotation after added
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.
IP: 192.168.0.70
12 years 2 months ago #4907
by radaee
Replied by radaee on topic How to get Bitmap annotation after added
plz, wait next version.
new interface:
Annotation.RenderToBmp(Bitmap) will come.
new interface:
Annotation.RenderToBmp(Bitmap) will come.
IP: 192.168.0.70
12 years 2 months ago - 12 years 2 months ago #4915
by el3ony
Replied by el3ony on topic How to get Bitmap annotation after added
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
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