Jump to content

Saurabh Rai

Member
  • Content Count

    3
  • Joined

  • Last visited

Community Reputation

2 Neutral
  1. Hi All I am making a WPF application where I am giving the user a TextBox to enter the Text. The user can select the Text Color and Text Size. I tried using ENML Writer to write this text as content. ENMLWriter writer = new ENMLWriter(); writer.WriteStartDocument(); writer..WriteString(TextBox_text); // passing the textbox text as it only accepts a string, No styles,size,font color,etc writer.WriteEndDocument(); // Create a note locally. Note myNote = new Note(); myNote.Title = "Sample note from the Advanced world"; myNote.Content = writer.Contents.ToString(); So I have two questions: 1) How to create a content that also has the style(Size,color,etc) of the different text.For example, How DO I Create the Content for this kind of TEXT? So, How do i generate the Content for my Evernote Note if user writes the above text using ENML Writer(or In any other way). The point is that the text should look same when taken in my app and viewed in EverNote Client/ Browser.\ 2) How to write the content if the note should have above kind of text, images,etc also[As far as I know they can be added as resources].In short How do i generate a proper Note Content in such complex situation? Thanks!!
  2. Hi all I am making a Windows App(For Desktops and Tablets) and I am giving user a Canvas where he can make Notes, attach files,etc. When the user is done I want to transfer this Note to EVERNOTE.Consider that the EVERNOTE Client is installed and user is logged in. I have two questions: 1) How do I transfer my Note to Evernote when user is offline or online(Both cases) [ How do i transfer them correctly ? I know ENML is the key, but how do i conevrt my canvas correctly into ENML(The canvas may contain images, text, ink strokes,etc..) ]. Please Note: I am making a WPF application and using the InkCanavas for taking the notes. 2) Suppose the user authenticated my App with some credentials but is logged in with some other account in the Evernote Client. How do i handle this ? As far as I know, there is no way to detect with which account the user is logged in in Evernote client. I have gone through Evernote Cloud API and Command line APIs. Any relevant approach and pointers will be highly appreciated. Thanks!
  3. Hi all I am making a Windows App(For Desktops and Tablets) and I am giving user a Canvas where he can make Notes, attach files,etc. When the user is done I want to transfer this Note to EVERNOTE.Consider that the EVERNOTE Client is installed and user is logged in. I have two questions: 1) How do I transfer my Note to Evernote when user is offline or online(Both cases) [ How do i transfer them correctly ? I know ENML is the key, but how do i conevrt my canvas correctly into ENML ]. 2) Suppose the user authenticated my App with some credentials but is logged in with some other account in the Evernote Client. How do i handle this ? As far as I know, there is no way to detect with which account the user is logged in in Evernote client. I have gone through Evernote Cloud API and Command line APIs. Any relevant approach and pointers will be highly appreciated. Thanks!
×