Skip to content

is There any way to get selected or taped position x and y axis in pdfviewer. #36

Closed

Description

@lavahasif

i want to custom add annotation based on x,y cordinate.is there any way to get taped region in pdf viewer

Activity

  1. dillibabun commented on Nov 2, 2020

    @dillibabun

    Hi @lavahasif ,

    Yes, it is possible to obtain the tap coordinate of SfPdfViewer Widget. The following code example illustrates how to obtain the tapped position coordinate.

    return Scaffold( body: GestureDetector( onTapDown: (details) { print(details.localPosition); }, child: SfPdfViewer.asset( 'assets/sample.pdf', ), ), );

    For further queries and better tracking, we recommend you to contact us through our support forum, Direct-Trac, or feedback portal. We are always happy to assist you!

    Regards
    Dilli babu

  2. lavahasif commented on Nov 8, 2020

    @lavahasif
    Author

    thank you .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions