locked
Get thumbnail from pdf, ppt or any of file RRS feed

  • Question

  • Hello everyone,

    I am trying to get thumbnail image from file. File may be .ppt, .pdf, or any other. Any one have idea.

    Like that:

     I want to show this image on my thumbnail image.

    Saturday, October 5, 2013 9:44 AM

Answers

  • StorageFile.GetThumbnailAsync will return the thumbnail if it's available.

    If this doesn't return one then there's no built-in way to retrieve the thumbnail. You'd need to create it yourself from special knowledge about the file type.

    --Rob

    • Marked as answer by Khant Nipun Sunday, October 6, 2013 4:34 AM
    Saturday, October 5, 2013 9:28 PM
    Moderator

All replies

  • StorageFile.GetThumbnailAsync will return the thumbnail if it's available.

    If this doesn't return one then there's no built-in way to retrieve the thumbnail. You'd need to create it yourself from special knowledge about the file type.

    --Rob

    • Marked as answer by Khant Nipun Sunday, October 6, 2013 4:34 AM
    Saturday, October 5, 2013 9:28 PM
    Moderator
  • ok Rob, Iam trying to do that.
    Sunday, October 6, 2013 4:34 AM