Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Questions about Android development and PDF
  • Page:
  • 1

TOPIC:

SetRect not working for bitmap annotation 8 years 8 months ago #9360

  • arcmobile.div
  • arcmobile.div's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 80
  • Thank you received: 0
I have added a bitmap annotation by AddAnnotBitmap method. Later I want to move and reposition it by annot.SetRect(float left, float top, float right, float bottom). But it is not working. It doesn't moves the bitmap in the page.But for other annotation it is working as desired. Please suggest.

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

SetRect not working for bitmap annotation 8 years 8 months ago #9373

  • arcmobile.div
  • arcmobile.div's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 80
  • Thank you received: 0
Hi any update? Please suggest .

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

SetRect not working for bitmap annotation 8 years 8 months ago #9374

  • support
  • support's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 692
  • Thank you received: 59
From our tests the api is working properly.
May you paste your code, please?

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

SetRect not working for bitmap annotation 8 years 8 months ago #9381

  • arcmobile.div
  • arcmobile.div's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 80
  • Thank you received: 0
Thanks for your reply.
I have used onTouchAnnot to setRect for bitmapAnnot
private boolean onTouchAnnot(MotionEvent event) {
m_annot.SetRect(m_annot_rect0[0], m_annot_rect0[1],m_annot_rect0[2], m_annot_rect0[3]);
}

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

SetRect not working for bitmap annotation 8 years 8 months ago #9383

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Thank you received: 65
Hi,
can you please send us more detailed code and explanation, because this doesn't work.

Thanks in advance.

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

  • Page:
  • 1
Powered by Kunena Forum