Using asposewords for.net can i get the character under the mouse without selecting it

I want to
1.load a word doc into a vb.net app and
2.lock it from editing
3.when the user clicks on a word I want to know what word he clicked on
thanks for any help

Hi
Thanks for your interest in Aspose.Words.

  1. You can open existing document using Aspose.Words. See the following code.
    Dim doc As Document = New Document(“in.doc”)
    Also see the following link.
    https://docs.aspose.com/words/net/create-or-load-a-document/
  2. You can protect/unprotect document using Aspose.Words. See the following links for more information.
    https://docs.aspose.com/words/net/protect-or-encrypt-a-document/
    https://reference.aspose.com/words/net/aspose.words/protectiontype/
  3. I think that this task you should achieve in some application logic.
    Please feel free to ask if you have any question about using Aspose.Words. I will be happy to help you.
    Best regards.

Thanx for your response I am very interested in purchasing but I can only do so if I can get the word under the mouse in a formated MSWord doc

  1. without selecting it
  2. the doc is locked
    I was told the following vb dot net code can get the character under the mouse in a text box
    Private Sub txtTestText_MouseMove(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles txtTestText.MouseMove

txtCurrentValue.Text = txtTestText.GetCharFromPosition(e.Location)

End Sub
can I do this using yor words component

Hi
Thanks for your inquiry. Aspose.Words is not visual component. But maybe you can achieve this using Aspose.Editor. See the following link for more information.
https://releases.aspose.com/words/net/
Please ask this question in Aspose.Editor forum.
https://forum.aspose.com/c/words/8
Best regards.