Ejemplo n.º 1
0
 public CGImage CreateThumbnail(int index, CGImageThumbnailOptions options)
 {
     using (var dict = options == null ? null : options.ToDictionary()) {
         var ret = CGImageSourceCreateThumbnailAtIndex(handle, index, dict == null ? IntPtr.Zero : dict.Handle);
         return(new CGImage(ret, true));
     }
 }
Ejemplo n.º 2
0
 public CGImage CreateThumbnail(int index, CGImageThumbnailOptions options)
 {
     using (var dict = options == null ? null : options.ToDictionary ()) {
         var ret = CGImageSourceCreateThumbnailAtIndex (handle, index, dict == null ? IntPtr.Zero : dict.Handle);
         return new CGImage (ret, true);
     }
 }