StorageFile::GetThumbnailAsync : specifiying length of the shorter side


  • Hi all,

    in StorageFile::GetThumbnailAsync the second argument indicates the length of the longer side of the desired image. Is there any way to specify the length of the shorter side instead?

    I looked at the three-argument overload of the function but didn't see any possibility to achieve the desired effect. As far as I can see, the only way to get the desired result is to ask for a larger thumbnail and then scale it down via CSS.

    All the best

    Thursday, January 24, 2013 2:41 PM