这让我大吃一惊。为什么这个方法需要一个未使用的参数?此外,它需要一个“必须为零”的 IntPtr。这似乎完全没有意义。谁能解释一下?
此处的文档:http://msdn.microsoft.com/en-us/library/system.drawing.image.getthumbnailimage.aspx
最佳答案
如果您查看早期版本的文档,例如 GetThumbnailImage in framework 1.1 ,它说:
"In GDI+ version 1.0, the delegate is not used."
参数保留在早期版本中,方法签名没有改变。
关于c# - 为什么 System.Drawing.Image.GetThumbnailImage 需要一个未使用的委托(delegate)?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12754021/