How to get Bitmap annotation after added - 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
  • 2

TOPIC: How to get Bitmap annotation after added

How to get Bitmap annotation after added 4 years 3 months ago #4898

  • el3ony
  • el3ony's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 16
  • Thank you received: 0
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

Please Log in or Create an account to join the conversation.

How to get Bitmap annotation after added 4 years 3 months ago #4900

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 830
  • Karma: 43
  • Thank you received: 10
like this:
Page.AddAnnotBitmap(...);
Annotation annot = Page.GetAnnot(Page.GetAnnotCount() - 1);

Please Log in or Create an account to join the conversation.

Last Edit: by .

How to get Bitmap annotation after added 4 years 3 months ago #4901

  • nermeen
  • nermeen's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 789
  • Karma: 20
  • Thank you received: 58

Please Log in or Create an account to join the conversation.

How to get Bitmap annotation after added 4 years 3 months ago #4902

  • el3ony
  • el3ony's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 16
  • Thank you received: 0
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.

Please Log in or Create an account to join the conversation.

How to get Bitmap annotation after added 4 years 3 months ago #4907

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 830
  • Karma: 43
  • Thank you received: 10
plz, wait next version.
new interface:
Annotation.RenderToBmp(Bitmap) will come.

Please Log in or Create an account to join the conversation.

How to get Bitmap annotation after added 4 years 3 months ago #4915

  • el3ony
  • el3ony's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 16
  • Thank you received: 0
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

Attachments:

Please Log in or Create an account to join the conversation.

Last Edit: by McCloskey.
  • Page:
  • 1
  • 2
Powered by Kunena Forum