ImageFormat(Guid) 构造函数

定义

使用指定的ImageFormat结构初始化类的新实例Guid

public:
 ImageFormat(Guid guid);
public ImageFormat(Guid guid);
new System.Drawing.Imaging.ImageFormat : Guid -> System.Drawing.Imaging.ImageFormat
Public Sub New (guid As Guid)

参数

guid
Guid

Guid指定特定图像格式的结构。

注解

通常,使用类的 ImageFormat 静态属性来指定特定格式,例如 PngJpeg而不是构造新的 ImageFormat格式。

适用于