Ejemplo n.º 1
0
        protected static bool GetThumbnailInternal(string fileOrFolderPath, int width, int height, bool cachedOnly, out byte[] imageData, out ImageType imageType)
        {
            imageType = ImageType.Jpeg;
            ShellThumbnailBuilder shellThumbnailBuilder = new ShellThumbnailBuilder();

            return(shellThumbnailBuilder.GetThumbnail(fileOrFolderPath, width, height, cachedOnly, ImageFormat.Jpeg, out imageData));
        }
Ejemplo n.º 2
0
 protected static bool GetThumbnailInternal(string fileOrFolderPath, int width, int height, bool cachedOnly, out byte[] imageData, out ImageType imageType)
 {
   imageType = ImageType.Jpeg;
   ShellThumbnailBuilder shellThumbnailBuilder = new ShellThumbnailBuilder();
   return shellThumbnailBuilder.GetThumbnail(fileOrFolderPath, width, height, cachedOnly, ImageFormat.Jpeg, out imageData);
 }