RadaeePDF.com :: Topic: How to get Bitmap annotation after added (1/2)
Welcome, Guest
Username: Password: Remember me

Signin/Signup with:

Questions about Android development and PDF
  • Page:
  • 1
  • 2

TOPIC: How to get Bitmap annotation after added

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

  • el3ony
  • el3ony's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 16
  • Karma: 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
The administrator has disabled public write access.

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

  • radaee
  • radaee's Avatar
  • OFFLINE
  • Moderator
  • Posts: 825
  • Thank you received: 10
  • Karma: 43
like this:
Page.AddAnnotBitmap(...);
Annotation annot = Page.GetAnnot(Page.GetAnnotCount() - 1);
Last Edit: 3 years 6 months ago by .
The administrator has disabled public write access.

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

  • nermeen
  • nermeen's Avatar
  • OFFLINE
  • Moderator
  • Posts: 659
  • Thank you received: 38
  • Karma: 17
The administrator has disabled public write access.

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

  • el3ony
  • el3ony's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 16
  • Karma: 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.
The administrator has disabled public write access.

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

  • radaee
  • radaee's Avatar
  • OFFLINE
  • Moderator
  • Posts: 825
  • Thank you received: 10
  • Karma: 43
plz, wait next version.
new interface:
Annotation.RenderToBmp(Bitmap) will come.
The administrator has disabled public write access.

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

  • el3ony
  • el3ony's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 16
  • Karma: 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

device-2014-01-14-034107.png
Last Edit: 3 years 6 months ago by McCloskey.
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Powered by Kunena Forum