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

適用於