語言

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 靜態屬性來指定特定格式,例如 Png 或 Jpeg,而不是構造一個新的 ImageFormat。

適用於