Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8192067
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T04:04:48+00:00 2026-06-07T04:04:48+00:00

In Windows 8 I can open up any PDF file in the native new

  • 0

In Windows 8 I can open up any PDF file in the native new PDF viewer and add notes by highlighting text and clicking “Add a Note”.

I would love to be able to programmatically access these notes using C#. But I am having trouble finding them. I can easily enough enumerate through document properties but I cannot find the notes at all…

Here is my code:

        FileOpenPicker openPicker = new FileOpenPicker();
        openPicker.ViewMode = PickerViewMode.Thumbnail;
        openPicker.SuggestedStartLocation = PickerLocationId.PicturesLibrary;
        openPicker.FileTypeFilter.Add(".pdf");
        StorageFile file = await openPicker.PickSingleFileAsync();

        var props = await file.Properties.RetrievePropertiesAsync(new List<string> { });

        foreach (var key in props.Keys)
        {
            Debug.WriteLine("key: " + key + " value: " + props[key]);
        }

        var docProp = await file.Properties.GetDocumentPropertiesAsync();
        var allDocProperties = await docProp.RetrievePropertiesAsync(new List<string> { });

        foreach (var key in allDocProperties.Keys)
        {
            Debug.WriteLine("key: " + key + " value: " + allDocProperties[key]);
        }

But none of the properties I am seeing in the output window have anything to do with the notes I have created in the PDF.

Can anyone else help me out here?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T04:04:49+00:00Added an answer on June 7, 2026 at 4:04 am

    The result of this was that I had to port over just enough of the code from iTextView into .NETCore, which was a big pain but I got enough of it working so that I can pass in a byte[] and extract the annotations.

    Thanks for the help.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Windows uses case-insensitive file names, so I can open the same file with any
I want to open a pdf file, then save it as a text and
How can you open windows program by pressing a button on web page I
Looking for an open source web testing tool that can do Windows Authentication. I've
Is GitHub for Windows open source? If so, I can't seem to find the
If I have several OS-X Terminal.app windows open, how can I move one Terminal
How can I ensure that this does NOT open in a new window?? onclick=ob=this.form.table;window.open(ob.options[ob.selectedIndex].value)/>
I have some problem with my open new window popup which it can read
Is there any program (preferably official) for Windows that can be used to manipulate
I have an app that can optionally open PDF's after it creates them. If

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.