GetMimeType
Image.GetMimeType method
返回图像的 mime 类型。
public static string GetMimeType(Image i)
范围 | 类型 | 描述 |
---|---|---|
i | Image | 图像对象/ |
返回值
如果找到,则 MIME 类型为字符串;否则,“图像/未知”值。
也可以看看
- class Image
- 命名空间 Aspose.Pdf
- 部件 Aspose.PDF
返回图像的 mime 类型。
public static string GetMimeType(Image i)
范围 | 类型 | 描述 |
---|---|---|
i | Image | 图像对象/ |
如果找到,则 MIME 类型为字符串;否则,“图像/未知”值。