110,524
社区成员
发帖
与我相关
我的任务
分享
try
{
PropertyItem item = img.GetPropertyItem (0x5100); // FrameDelay in libgdiplus
// Time is in 1/100th of a second
delay = (item.Value [0] + item.Value [1] * 256) * 10;
}
catch
{
delay = 200;
}